Very useful

I am using this plugin with IP SLA on the core switches at my customer sites to check that all internet connections remain up.

One glitch I noticed was that if the SNMP queries fail then the plugin may still return an OK status code. I fixed this issue by checking at the start of the “Output Phase” that the rtt_status hash is not empty:

if (! %rtt_status ) {
print “No SLA query returned a status.”;
print “So returning CRITICAL status code.”;
exit(2);
}