<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Courier; font-size: 12pt; color: #006600'>Let's say an HTTP test fails but the <b>conn test</b> for the same host <b>still works</b>.  What I <br>want to do at that point, is a tcptraceroute.  I need to know where TCP/80 is getting <br>stuck.<br><br><br>/Troy<br><br><br><br>----- Original Message -----<br>From: cleaver@terabithia.org<br>To: "Troy Adams" <troy@athabascau.ca>, me@tdiehl.org<br>Cc: "Xymon Email List" <xymon@xymon.com><br>Sent: Thursday, May 30, 2013 4:06:11 PM GMT -07:00 US/Canada Mountain<br>Subject: Re: [Xymon] tcp traceroute<br><br><br><br>> On Thu, 30 May 2013, Troy Adams wrote:<br>><br>>> In the same way that the conn test can be asked to "trace" by performing<br>>> a<br>>> traceroute upon failure, I would like to perform a TCP traceroute when a<br>>> TCP test fails with "no route to host". I expect this isn't built right<br>>> into Xymon now but has anybody got any pointers on what to hack to<br>>> implement this myself?<br>><br>> Magic built in not tacked on later!!<br>><br>> From the hosts.cfg man page:<br>><br>> trace<br>>      If the connectivity test fails, run a "traceroute" and include the<br>> output<br>>      from this in the status message from the failed connectivity test.<br>> Note:<br>>      For this to work, you may have to define the TRACEROUTE environment<br>>      variable, see xymonserver.cfg(5)<br>><br>> Is that what you are looking for?<br>><br>> --<br><br>"trace" in hosts.cfg and a suitable entry in xymonserver.cfg should be all<br>you need. (You can also just add --trace to the xymonnet options in<br>tasks.cfg.) Since you're running as the 'xymon' user (presumably), don't<br>forget privilege escalation for traceroute in TCP mode.<br><br><br>tasks.cfg:      CMD xymonnet --report --ping --trace --checkresponse<br>xymonserver.cfg:TRACEROUTE="sudo /bin/traceroute -I"<br><br><br>HTH,<br><br>-jc<br><br></div>
<br><p>

<hr width=80% align=center>

This communication is intended for the use of the recipient to whom it

is addressed, and may contain confidential, personal, and or privileged

information. Please contact us immediately if you are not the intended

recipient of this communication, and do not copy, distribute, or take

action relying on it. Any communications received in error, or

subsequent reply, should be deleted or destroyed.

<hr width=80% align=center>

</p>
<br></body></html>