/network-management

Dependency and root cause analysis and more for network and IT management graph example

Primary LanguageCypher

network

Network Management Graph Example

Description: Dependency and root cause analysis and more for network and IT management

Nodes 83847 Relationships 181995

model
Figure 1. Model
example
Figure 2. Example
Example Query:
:param location => "Iceland, Rekjavik"
MATCH (dc:DataCenter {location: $location})-[:CONTAINS]->(r:Router)-[:ROUTES]->(i:Interface)
RETURN i.ip as ip

Setup

This is for Neo4j version: 3.5,4.0

Load graph data via the following:

Dump file: data/network-management-40.dump

  • Drop the file into the Files section of a project in Neo4j Desktop. Then choose the option to Create new DBMS from dump option from the file options.

  • Use the neo4j-admin tool to load data from the command line with the command below.

bin/neo4j-admin load --from data/network-management-40.dump [--database "database"]

Data load script: scripts/network-management.cypher

bin/cypher-shell -u neo4j -p "password" -f scripts/network-management.cypher [-d "database"]

Or import in Neo4j Browser by dragging or pasting the content of scripts/network-management.cypher.

Code Examples

Feedback

Feel free to submit issues or pull requests for improvement on this repository.