Hi, Since my zenoss his layer3 dependences did not work correctly I have created a tool which can see if zenoss is able to build the layer3 deps.
Just download this file (and put it in $ZENHOME/bin) http://www.zenoss.com/Members/netdata/tracepath.py Once you did this just run trancepath.py with the device you want to track down. Code: tracepath.py swiss11 Getting path from zenoss0101 to swiss11... zenoss -> VGB-DC01-SW01 -> VG_Turnhout -> pbru223.controlnet.equant.net -> pkt47.controlnet.equant.net -> CHEL-ZO01-SW01 -> swiss11 So as you can see this reveals the path from the zenoss server until the device you gave as argument. When zenoss was unable to trace the path it will throw an error: Code: tracepath.py pkt1401 Getting path from zenoss0101 to pkt1401... Traceback (most recent call last): File "/opt/zenoss/bin/tracepath.py", line 30, in ? path = source.os.traceRoute(destination, []) File "/opt/zenoss/Products/ZenModel/OperatingSystem.py", line 121, in traceRoute return nextdev.traceRoute(target, ippath) File "/opt/zenoss/Products/ZenModel/Device.py", line 507, in traceRoute return self.os.traceRoute(target, ippath) File "/opt/zenoss/Products/ZenModel/OperatingSystem.py", line 121, in traceRoute return nextdev.traceRoute(target, ippath) File "/opt/zenoss/Products/ZenModel/Device.py", line 507, in traceRoute return self.os.traceRoute(target, ippath) File "/opt/zenoss/Products/ZenModel/OperatingSystem.py", line 121, in traceRoute return nextdev.traceRoute(target, ippath) File "/opt/zenoss/Products/ZenModel/Device.py", line 507, in traceRoute return self.os.traceRoute(target, ippath) File "/opt/zenoss/Products/ZenModel/OperatingSystem.py", line 122, in traceRoute raise TraceRouteGap("unable to trace to %s, gap at %s" % (target.id, Products.ZenModel.Exceptions.TraceRouteGap: unable to trace to pkt1401, gap at pbr213.controlnet.equant.net As you you can see zenoss throws an error that there is a gap at pbr213.controlnet.equant.net So this means zenoss is unable to see the routes that will lead to pkt1401 When you use this script without a correct device it will lead to this: Code: tracepath.py foobar Getting path from zenoss0101 to foobar... Invalid destination. I hope I could help a lot of people with this tool ! -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=22852#22852 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
