MJL85 / natlas

natlas - Network Discovery and Auto-Diagramming
GNU General Public License v2.0
511 stars 110 forks source link

. depth ! connection error #34

Closed hktalent closed 5 years ago

hktalent commented 5 years ago
natlas# py3 ./natlas-cli.py diagram -r 172.16.10.4 -c  cfg.json -o allGs.svg -t 'xxx'
natlas v0.12
Michael Laforest <mjlaforest@gmail.com>
Python 3.6.6

     Config file: cfg.json
     Output file: allGs.svg
Out Catalog file: None
       Root node: 172.16.10.4
  Discover depth: 100
   Diagram title: yinhai

Discovery codes:
    . depth             ! connection error
    + discovering node  > numerating adjacencies
    i include node      L leaf node

Discovering network...
1  [root]  +UNKNOWN (172.16.10.4)

Collecting node details...
[1/1]! UNKNOWN (172.16.10.4) 0.00 sec

Back filling node details...
Created diagram: allGs.svg

Completed in 0:0:12.40s
MJL85 commented 5 years ago

When collecting node details, the ! means that it was unable to connect to the node with SNMP. Double check your cfg.json and device config to confirm your SNMP credentials are good and that your device allows SNMP from the machine you're running natlas from.