Since Windows works for you, my solution is not likely to help you much. But I'm using a WMI query to determine the uptime. I then set the plugin status to CRITICAL for uptimes less than 30 minutes, WARNING for uptimes less than 30 minutes.
You should be able to do something very similar in Linux using the uptime command. Both solutions require installing some agent software on the monitored system. Joseph L. Casale wrote: > I am using > http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm > for monitoring windows reboots. It works perfect for Windows, but is missing > the hostname > for the Linux servers. > > Looking quickly at the Perl code hasn't gotten me anyway (I'm super weak w/ > Perl anyhow). > > Anyone doing this with another solution for Windows/Linux/Solaris hosts? > > Thanks! > jlc > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users@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