checking for reboots of a host
Frank Pikelner
pikelner at rogers.com
Mon Aug 23 13:16:04 CEST 2004
Yes, I'm currently using SNMP to obtain uptime of hosts and network devices.
Is there a way of doing comparison from the return value in the standard
script?
I would like to check if value X returned is less than < 86400 (seconds for
24 hours), if less than then return uptime with a WARNING, if greater than
>= 86400 simply return uptime (okay)
Frank
<steve wrote>
couldn't you use SNMP to pull the uptime from the host? (Assuming the hosts
have some SNMP daemon running) Even a custom script that stores the returned
info, so on next check, it can compare it... if current uptime for host "X"
is less that last uptime for host "X", then alert?
Steve
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list