Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_tracert
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.
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 ] ];
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.
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.