Windows Uptime question
Anthony Montibello
amontibello at gmail.com
Sun Jun 22 03:46:48 CEST 2008
create a wrapper script that converts the output to the format you want.
TOny (author of NC_Net)
On Sat, Jun 21, 2008 at 3:57 PM, Wim De Geeter <wim.de-geeter at uni-graz.at>
wrote:
> Many Thanks, but I am not using the NSClient to get my info. I am using
> the nrpe client for windows.
>
>
>
> Seth Simmons wrote:
> > This shows me days, hours, minutes using check_nt!UPTIME command.
> >
> > define service{
> > use generic-service
> > host_name server
> > service_description Uptime
> > is_volatile 0
> > check_period 24x7
> > max_check_attempts 2
> > normal_check_interval 3
> > retry_check_interval 5
> > contacts nagiosadmin
> > notification_interval 30
> > notification_period 24x7
> > notification_options w,c,r
> > check_command check_nt!UPTIME
> > }
> >
> > The result for the service shows:
> > Current Status: OK (for 0d 18h 31m 4s)
> > Status Information: System Uptime - 25 day(s) 17 hour(s) 9 minute(s)
> >
> >
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net
> > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Wim De
> > Geeter
> > Sent: Saturday, June 21, 2008 11:08 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Windows Uptime question
> >
> > Hi,
> > I would like to monitor the Uptime of our windows 2003 servers and
> > tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got
> >
> > the output in seconds. Someone knows how to get the output in Days,
> > Hours, Minute ? Maybe I forgot something.
> > Many thanks
> >
> > ------------------------------------------------------------------------
> > -
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > 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
> >
>
> --
> Wim De Geeter
> System Administrator Wegener Center
>
> | Wegener Center for Climate and Global Change
> | University of Graz, Austria
> | phone: +43 316 380 8463
> | eMail: wim.de-geeter at uni-graz.at
> | web: www.wegcenter.at
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> 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/20080621/a8cb0576/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-------------- next part --------------
_______________________________________________
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