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 <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Wim De
> > Geeter
> > Sent: Saturday, June 21, 2008 11:08 AM
> > To: [email protected]
> > 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
> > [email protected]
> > 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: [EMAIL PROTECTED]
> | 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
> [email protected]
> 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
>
-------------------------------------------------------------------------
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
[email protected]
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