Check_nt uptime
jmoseley at corp.xanadoo.com
jmoseley at corp.xanadoo.com
Tue Jan 6 16:32:23 CET 2009
James Moseley
lists at justinawilliams.com wrote:
>All,
>
>I am wanting nagios to notify me when there is a reboot on my windows
>boxes. Currently i am running nsclient++ on those boxes with
>Check_nt!uptime and that is reporting fine. I want to set it up to where
>it will alert me when the uptime is less then 15 min thus detecting a
>reboot of the box.
You'd need to write a plugin to do that. Looks like someone has already
done that:
http://osdir.com/ml/network.nagios.plugins.devel/2005-01/msg00052.html
You'd have to get the source to this plugin, make the perl changes, then
compile it.
James
------------------------------------------------------------------------------
More information about the Developers
mailing list