Ron Skantz
2018-10-18 14:11:05 UTC
So we have several network failover scenarios in place across our internal network.
When failures occur, key devices remain up but the network path will change.
I want to monitor for these network path changes.
I am somewhat familiar with the traceroute command and I see that there is a check_traceroute plugin.
Even with the help page I am still not sure how to use this check to determine that a route has changed.
How do you reference a "ROUTE" and then a possible alternate "ROUTE" with this command?
I can't find a single example any place.
Here is the help output for the check_traceroute plugin:
check_traceroute -{c|w|C|W} ROUTE [-{o|c|w|O|C|W} ROUTE...] TARGET
Check by which routes TARGET is being reached. Each possible route is being
prefixed with a state option:
-w Make outcome WARN if that route is present
-W Make outcome WARN if that route is missing
-c Make outcome CRIT if that route is present
-C Make outcome CRIT if that route is missing
Other options:
-h, --help show this help and exit
--debug show Python exceptions verbosely
-n disable reverse DNS lookups
-I Use ICMP ECHO for probes
-T Use TCP SYN for probes
Thank you kindly for any example information you can provide.
Ron
PRIVILEGED AND CONFIDENTIAL: This electronic message and any attachments are confidential property of the sender. The information is intended only for the use of the person to whom it was addressed. Any other interception, copying, accessing, or disclosure of this message is prohibited. The sender takes no responsibility for any unauthorized reliance on this message. If you have received this message in error, please immediately notify the sender and purge the message you received. Do not forward this message without permission.
When failures occur, key devices remain up but the network path will change.
I want to monitor for these network path changes.
I am somewhat familiar with the traceroute command and I see that there is a check_traceroute plugin.
Even with the help page I am still not sure how to use this check to determine that a route has changed.
How do you reference a "ROUTE" and then a possible alternate "ROUTE" with this command?
I can't find a single example any place.
Here is the help output for the check_traceroute plugin:
check_traceroute -{c|w|C|W} ROUTE [-{o|c|w|O|C|W} ROUTE...] TARGET
Check by which routes TARGET is being reached. Each possible route is being
prefixed with a state option:
-w Make outcome WARN if that route is present
-W Make outcome WARN if that route is missing
-c Make outcome CRIT if that route is present
-C Make outcome CRIT if that route is missing
Other options:
-h, --help show this help and exit
--debug show Python exceptions verbosely
-n disable reverse DNS lookups
-I Use ICMP ECHO for probes
-T Use TCP SYN for probes
Thank you kindly for any example information you can provide.
Ron
PRIVILEGED AND CONFIDENTIAL: This electronic message and any attachments are confidential property of the sender. The information is intended only for the use of the person to whom it was addressed. Any other interception, copying, accessing, or disclosure of this message is prohibited. The sender takes no responsibility for any unauthorized reliance on this message. If you have received this message in error, please immediately notify the sender and purge the message you received. Do not forward this message without permission.