Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
n4th4nr1ch
byn4th4nr1ch, February 25, 2011
You are basing your math from the sleep timer. However you're forgetting that the snmpget can take longer than 0 seconds, which means that when the second trafbyteOut check runs, it has not been 0 seconds since the sleep of 1 second.
What you'll want to do is get the current times and compare the two.
What you'll want to do is get the current times and compare the two.