Hi,

I use the following command to get the uptime of a SNMP enabled device.
The cirtical threshold is set to 60000: to alert me if the device uptime 
is less than 10 minutes.

  /usr/lib64/nagios/plugins/check_snmp -H 10.10.10.1 -o sysUpTime.0 -m \
RFC1213-MIB -c 60000:

Example output:
  SNMP OK - Timeticks: (913796445) 105 days, 18:19:24.45 |

Everythings fine so far. But if the uptime (timeticks) less than 60000
the plugin still reports OK. I have tested it with 1913796445: as
critical threshold.

According to [1] 60000: means alert when less than 60000.

What's wrong.

Thanks,

   - Jummo


[1]
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT




------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to