The network map makes a map of the room. It queries data from the switches at 128.237.157.253 128.237.157.254 using snmp and builds a JSON output to be read by d3js force layout.

The script lives in monitor:/home/network-map and requires:

The script main file is network-mapper.sh and running it with no-args will query all the switches and do it's thing.

The script also uses 2 libraries that I wrote called libarphelper.sh libsnmphelper.sh. These scripts should be located in the same directory as network-mapper.sh

Once the JSON has been generated it will echo it out to stdout and you can save it to your d3js viewer directory.

I have one hosted here http://monitor.club.cc.cmu.edu/networkmap/

Here's a picture of the d3js page as of Feb-8-2014 network.svg

Network Map (last edited 2014-06-20 18:01:08 by ssosothi@CLUB.CC.CMU.EDU)