In the NSClient++ documentation, CheckCPU works with normal integers as thresholds (so no %-sign required).<br><br>As an alternative, you can also check the CPU Utilization with the NSClientListener/check_nt plugin: <br><a href="http://nsclient.org/nscp/wiki/NSClientListener">http://nsclient.org/nscp/wiki/NSClientListener</a><br>
<br>I use this way of checking the cpu loads/percentages for several hundreds of Windows servers and it works just fine.<br><br><div class="gmail_quote">On Mon, Jan 30, 2012 at 12:06 PM, Matthew Jurgens <span dir="ltr"><<a href="mailto:nagiosusers@edcint.co.nz">nagiosusers@edcint.co.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
You might like to try <br>
<br>
<a href="http://www.edcint.co.nz/checkwmiplus" target="_blank">www.edcint.co.nz/checkwmiplus</a><div class="im"><br>
<br>
On 30/01/2012 9:07 PM, Robert Jackson wrote:
</div><blockquote type="cite"><div class="im">
<div>
<p class="MsoNormal"><span>Why does the NSClient++
command CheckCPU always sit as a critical condition within
Nagios? The command I have in place is:<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>$USER1$/check_nrpe -H
$HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ crit=$ARG2$ time=5m<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>$ARG1$ is set to 80% and
$ARG2$ is set to 95% (have tried with and without % symbol)<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>The output display in Nagios
is: CRITICAL: 5m: average load 15% > critical<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Anyone have any ideas why
this is generating a critical condition?<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span>Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span>Rab.<u></u><u></u></span></p>
<p class="MsoNormal"><span>=============================================================<u></u><u></u></span></p>
<p class="MsoNormal"><span>Robert
Jackson Phone: +44 (0) 141
332 7999<u></u><u></u></span></p>
<p class="MsoNormal"><span>IT
Manager Fax: +44
(0) 141 331 2820<u></u><u></u></span></p>
<p class="MsoNormal"><span>Walker Martyn Ltd<u></u><u></u></span></p>
<p class="MsoNormal"><span>1 Park Circus
Place Email: <a href="mailto:rab@walkermartyn.co.uk" target="_blank"><span style="color:windowtext">rab@walkermartyn.co.uk</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span>Glasgow G3 6AH,
Scotland Web: <a href="http://www.walkermartyn.co.uk/" target="_blank"><span style="color:windowtext">http://www.walkermartyn.co.uk</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span>=============================================================<u></u><u></u></span></p>
</div>
<br>
<br>
</div><div>-- <br>
<font size="-1">
<a href="http://www.smartmon.com.au" target="_blank">Smartmon System
Monitoring</a>
<br>
<a href="http://www.smartmon.com.au" target="_blank">www.smartmon.com.au</a> </font></div>
</blockquote>
</div>
<br>------------------------------------------------------------------------------<br>
Try before you buy = See our experts in action!<br>
The most comprehensive online learning library for Microsoft developers<br>
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,<br>
Metro Style Apps, more. Free future releases when you subscribe now!<br>
<a href="http://p.sf.net/sfu/learndevnow-dev2" target="_blank">http://p.sf.net/sfu/learndevnow-dev2</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>