Plugin for System Uptime

Frederik Vanhee frederik.vanhee at perso.be
Sun Jul 17 10:30:13 CEST 2005


Hello,

I wrote my own little plugin for uptime on HP-UX systems. It's quite 
simple really. I use the uptime command and then I cut and sed a little 
to have the days, hours and minutes and if the uptime is less than 24 
hours, the plugin exits with a warning status.

Frederik



Jason Martin wrote:

>On Fri, Jul 15, 2005 at 04:50:03PM -0400, Kaplan, Andrew H. wrote:
>  
>
>>What plugin would be the one to use to monitor the uptime of several remote
>>hosts? The hosts in question are Linux and HP-UX.
>>    
>>
>What would the threshold be for such a plugin?
>
>-Jason Martin
>  
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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