Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_tracert

Rating
1 vote
Favoured:
0
Hits
92408
Files:
FileDescription
check_tracertthe plugin
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Very simple bash script for checking that the primary route is active.
Very simple bash script for checking that the primary route is active.

add to nagiosgraph map file for a graph that should always be 0

# Service type: check_tracert
/perfdata:tracert=(d+);(d+)/
and push @s, [ tracert,
[ "route", GAUGE, $1 ],
[ "warn", GAUGE, $2 ] ];
Reviews (1)
byronator, January 23, 2017
I was looking for a routing check. I found this here, expecting not much, but isn't it obviously a bit weird, that you use a program named 'tracert' instead of traceroute?

I could not find any information that on Unix systems there ever existed a tracert - tracert is imho a windows command, so the script won't work unmodified. Also, I can't see any 'Nagios Plugin Guidelines' applied to this little scriot.

Nevertheless good for learning approaches.