Plugin for System Uptime

Petrucci, Joseph Joseph.Petrucci at ddiworld.com
Mon Jul 18 13:21:32 CEST 2005


I did the same thing but used ssh to execute the command
 
Joseph A. Petrucci
E Systems DBA
------------------------------------------------
Desk: 412-220-2646
Cell: 412-916-2867
Text message (e-mail) 4129162867 at mobile.att.net
e-mail joseph.petrucci at ddiworld.com
Personal Cell: 724-462-0443
Personal e-mail: japetrucci at hotmail.com

________________________________

From: nagios-users-admin at lists.sourceforge.net on behalf of Frederik Vanhee
Sent: Sun 7/17/2005 4:30 AM
To: Jason Martin
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Plugin for System Uptime



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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050718/162df0e9/attachment.html>


More information about the Users mailing list