Table of Contents
Netdisco Missing Connection
Preface
In some cases Netdisco is not able to detect the infrastructure topology. There are many reasons. In some cases it is possible to fix this issue with uploading of additional MIB file that will help us to discover the missing topology interconnections. On another hand sometime we do not have this possibility. According to this Netdisco is providing us the possibility to manually configure the missing topology connections.
Configure missing connection
Missing topology interconnection between discovered devices and interfaces is possible to configure manually at:
/usr/local/netdisco/netdisco-topology.txt
At mentioned file you can find really nice HowTo:
[root@Netdisco ~]# cat /usr/local/netdisco/netdisco-topology.txt # netdisco-topology.txt # Manual Topology information used in netdisco # # Add a line for each device you want to add manually # Add link lines for topology information in the format # # device # link:outport,destination router,destination port # # Basic Example: # # Let's connect these two routers manually: # # [router1] --> [router2] # Port 14 Port 5 # # The following two lines would be added to this file: # # router1 # link:14,router2,5 # # # LoopBacks: # If you know a port is an uplink port but you don't # know where it goes, set it to iteself. # # router1 # link:1.2,router1,1.2 # # Notes: # 1. Only one side is needed, both sides are forced to this info # 2. You can use DNS host names or IP addresses # 3. See "Manual Topology Information" in README
Update the topology
After that you have saved the configuration update at “/usr/local/netdisco/netdisco-topology.txt” file you can:
[root@Netdisco ~]# /usr/local/netdisco/netdisco -T # Import Topology info from topofile in to Netdisco [root@Netdisco ~]# /usr/local/netdisco/netdisco -g # Create network map files (used at WEB GUI)