Open driesken opened 8 years ago
Have just installed mnet, but it is stuck when executing the following command (made sure I set depth at 1 to ensure it doesn't graph my whole network).
mnet.py graph -r 172.21.121.1 -f test.png -d 1 -c mnet.conf
However, it seems to stop during the following SNMP request:
09:30:36.413112 IP CENSOREDHOST.snmp >MYHOST.59886: C=XXXXXXXX GetResponse(214) 47.1.1.1.1.10.1001="12.2(40)SE" 47.1.1.1.1.10.1002="" 47.1.1.1.1.10.1003="" 47.1.1.1.1.10.1004="" 47.1.1.1.1.10.1005="" 47.1.1.1.1.10.1006="" 47.1.1.1.1.10.1007="" 47.1.1.1.1.10.1008="" 47.1.1.1.1.10.1009="" 47.1.1.1.1.10.1010=""
Conf looks like this (minimal):
{ "snmp" : [ { "community":"XXXXXXXX", "ver":2 } ], "domains" : [ ], "exclude" : [ ], "subnets" : [ ], "graph" : { "node_text_size" : 10, "link_text_size" : 9, "title_text_size" : 15, "include_svi" : 0, "include_lo" : 0, "include_serials" : 0, "get_stack_members" : 0, "get_vss_members" : 0, "expand_stackwise" : 0, "expand_vss" : 0, "expand_lag" : 0 } }
Would it be possible to implement some kind of timeout?
Your subnets parameter is blank, pretty sure that will cause the code to stop.
From the readme:
Therefore this list defines the subnets that are allowed to be included in the discovery process,
Have just installed mnet, but it is stuck when executing the following command (made sure I set depth at 1 to ensure it doesn't graph my whole network).
mnet.py graph -r 172.21.121.1 -f test.png -d 1 -c mnet.conf
However, it seems to stop during the following SNMP request:
Conf looks like this (minimal):
Would it be possible to implement some kind of timeout?