Discussion:
Using Zenoss to monitor and send traceroute log if connection drops.
dihris
2012-11-21 22:15:30 UTC
Permalink
dihris [http://community.zenoss.org/people/dihris] created the discussion

"Using Zenoss to monitor and send traceroute log if connection drops."

To view the discussion, visit: http://community.zenoss.org/message/70077#70077

--------------------------------------------------------------
Hi folks.

Just about done pulling my hair out there with Zenoss and traceroute. I've been up and down every post I cannot find way to solve the issue that I've been tasked to resolve. Here is what I've got so far.

We are monitoring a few of our internet connections with nagios check_ping plugin where a ping is being send to our clients servers and if there is a connection drop for more then 60s Zenoss will send me an e-mail.
So far this works great but it would be very handy if I have the traceroute log included in the Zenoss event at the time when the connection got dropped. This way it would be very easy to troubleshoot the issue knowing exactly where to start from.

The closest that I found is Tip Of the Month: Layer 3 Dependency Checker but it does not provide you with the latency and does not create event in Zenoss System.

http://community.zenoss.org/blogs/zenossblog/2008/08/26/tip-of-the-month-layer-3-dependency-checker


Ideally it would be to have Zenoss generate critical event if PING is being dropped and include the log from traceroute command to the remote peer in the same Zenoss event.

What I found to be handy keys for traceroute in Linux is:

traceroute -Aq 1 <remote IP add>     

where -A would perfom AS path lookups in routing registries and print resuilts directly after the corresponding address  and -q 1 would set the number of probes per each hop
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70077#70077]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ryan Matte
2012-11-22 22:51:38 UTC
Permalink
Ryan Matte [http://community.zenoss.org/people/rmatte] created the discussion

"Re: Using Zenoss to monitor and send traceroute log if connection drops."

To view the discussion, visit: http://community.zenoss.org/message/70102#70102

--------------------------------------------------------------
The way I would personally do this would be to setup a trigger in Zenoss to perform a traceroute and dump the output to a dated file in the event of a link failure.  Then you could just go and grab the file off the server to see the details.  That's really the best that I can come up with for you.  The only other way would be to write a script using zep ( http://wiki.zenoss.org/ZenDMD_Tip_-_Manipulate_Events http://wiki.zenoss.org/ZenDMD_Tip_-_Manipulate_Events), have it perform a traceroute, and output the results as a comment in the event.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/70102#70102]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...