<div>Perfomance Counters on windows are sometimes tricky</div>
<div>Have you looked at log files for Nsclient++ ?</div>
<div> </div>
<div>Have you tried NC_NEt for these yet?</div>
<div>- It comunicates with Check_nt as well</div>
<div>but does not require any configuration on the Windows Host side other than install and start for all the standard pNsClient commands/Defaults </div>
<div> </div>
<div> </div>
<div>I think you may need to tweek you Nagios Configuration for this issue - I found sometimes the " get parsed out when passed to the Command definition</div>
<div>try the following:</div>
<div><font face="Verdana">define command {<br> command_name check_nt_counters<br> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s password -v COUNTER -l "$ARG1$" -w $ARG2$ -c $ARG3$<br>
}</font><br><br><font face="Verdana">define service{<br> use windows-service<br> host_name host1<br> service_description ASP.NET_Apps-Sessions_Active<br>
check_command check_nt_counters!\\</font><a href="http://asp.net/" target="_blank"><font face="Verdana">ASP.NET</font></a><font face="Verdana"> Apps v2.050727\\Sessions Active!2000!2500<br> }</font><br>
</div>
<div>Tony (Author of NC_NEt)</div>
<div> </div>
<div class="gmail_quote">On Wed, Mar 4, 2009 at 8:50 AM, Sujit D. Kadam <span dir="ltr"><<a href="mailto:sujit.kadam@netmagicsolutions.com">sujit.kadam@netmagicsolutions.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div text="#000000" bgcolor="#ffffff"><font size="-1"><font face="Verdana">Hi,<br><br>I am using Nagios Version 3.0.3 on server side.<br>Need to monitor <a href="http://asp.net/" target="_blank">ASP.NET</a> counters of Window 2008 (64 bit)<br>
On windows 2008 , I have installed pNsclient.exe <br>also tried with nsclient++<br><br>On server side in commands.cfg <br><br># 'check_nt_Counters' command definition<br>define command {<br> command_name check_nt_counters<br>
command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -s password -v COUNTER -l $ARG1$ -w $ARG2$ -c $ARG3$<br> }<br><br><br>in services.cfg<br><br>## Below is Service Definition for <a href="http://asp.net/" target="_blank">ASP.NET</a> Apps v2.050727 - Sessions Active<br>
define service{<br> use windows-service<br> host_name host1<br> service_description ASP.NET_Apps-Sessions_Active<br> check_command check_nt_counters!"\\<a href="http://asp.net/" target="_blank">ASP.NET</a> Apps v2.050727\\Sessions Active"!2000!2500<br>
}<br><br><br>I am getting the output value as 0 but exactly in perfmon I can see the exact value i.e approx 1000<br><br><br>Also tried nrpe_nt to install on windows 2008. But throwing error while starting the service.<br>
<br>Windows could not start th Nagios Remote Plugin Executor for NT/W@K service on Local Computer.<br>Error 1053: The service did not respond to the start or control request in timely manner.<br><br><br>Regrds,<br><br>Sujit<br>
<br></font></font></div>
<table align="center">
<tbody>
<tr>
<td width="5%">    </td>
<td width="90%">
<p style="TEXT-ALIGN: justify"><font face="Arial" size="2"><br>-- <br>**************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. NetMagic Solutions Pvt. Ltd. has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. NetMagic Solutions Pvt. Ltd. reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the NetMagic Solutions Pvt. Ltd.'s e-mail system. ***************** End of Disclaimer ******************* </font></p>
</td>
<td width="5%">    </td></tr></tbody></table><br>------------------------------------------------------------------------------<br>Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA<br>
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise<br>-Strategies to boost innovation and cut costs with open source participation<br>-Receive a $600 discount off the registration fee with the source code: SFAD<br>
<a href="http://p.sf.net/sfu/XcvMzF8H" target="_blank">http://p.sf.net/sfu/XcvMzF8H</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></blockquote></div><br>