<div>create a wrapper script that converts the output to the format you want.</div>
<div> </div>
<div>TOny (author of NC_Net)<br><br></div>
<div class="gmail_quote">On Sat, Jun 21, 2008 at 3:57 PM, Wim De Geeter <<a href="mailto:wim.de-geeter@uni-graz.at">wim.de-geeter@uni-graz.at</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Many Thanks, but I am not using the NSClient to get my info. I am using<br>the nrpe client for windows.<br>
<div>
<div></div>
<div class="Wj3C7c"><br><br><br>Seth Simmons wrote:<br>> This shows me days, hours, minutes using check_nt!UPTIME command.<br>><br>> define service{<br>> use generic-service<br>> host_name server<br>
> service_description Uptime<br>> is_volatile 0<br>> check_period 24x7<br>> max_check_attempts 2<br>> normal_check_interval 3<br>
> retry_check_interval 5<br>> contacts nagiosadmin<br>> notification_interval 30<br>> notification_period 24x7<br>> notification_options w,c,r<br>
> check_command check_nt!UPTIME<br>> }<br>><br>> The result for the service shows:<br>> Current Status: OK (for 0d 18h 31m 4s)<br>> Status Information: System Uptime - 25 day(s) 17 hour(s) 9 minute(s)<br>
><br>><br>> -----Original Message-----<br>> From: <a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a><br>> [mailto:<a href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a>] On Behalf Of Wim De<br>
> Geeter<br>> Sent: Saturday, June 21, 2008 11:08 AM<br>> To: <a href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>> Subject: [Nagios-users] Windows Uptime question<br>
><br>> Hi,<br>> I would like to monitor the Uptime of our windows 2003 servers and<br>> tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got<br>><br>> the output in seconds. Someone knows how to get the output in Days,<br>
> Hours, Minute ? Maybe I forgot something.<br>> Many thanks<br>><br>> ------------------------------------------------------------------------<br>> -<br>> Check out the new SourceForge.net Marketplace.<br>
> It's the best place to buy or sell services for<br>> just about anything Open Source.<br>> <a href="http://sourceforge.net/services/buy/index.php" target="_blank">http://sourceforge.net/services/buy/index.php</a><br>
> _______________________________________________<br>> Nagios-users mailing list<br>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> ::: Please include Nagios version, plugin version (-v) and OS when<br>> reporting any issue.<br>> ::: Messages without supporting info will risk being sent to /dev/null<br>><br><br>--<br></div></div>Wim De Geeter<br>
System Administrator Wegener Center<br><br>| Wegener Center for Climate and Global Change<br>| University of Graz, Austria<br>| phone: +43 316 380 8463<br>| eMail: <a href="mailto:wim.de-geeter@uni-graz.at">wim.de-geeter@uni-graz.at</a><br>
| web: <a href="http://www.wegcenter.at/" target="_blank">www.wegcenter.at</a><br><br><br>-------------------------------------------------------------------------<br>
<div>
<div></div>
<div class="Wj3C7c">Check out the new SourceForge.net Marketplace.<br>It's the best place to buy or sell services for<br>just about anything Open Source.<br><a href="http://sourceforge.net/services/buy/index.php" target="_blank">http://sourceforge.net/services/buy/index.php</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></div></div></blockquote></div><br>