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

Directory Tree

check_tracert

Rating
1 vote
Favoured:
0
Hits
97316
Files:
FileDescription
check_tracertthe plugin
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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.