NRPE/NSClient++ CheckCPU Error?

Claudio Kuenzler ck at claudiokuenzler.com
Mon Jan 30 13:51:49 CET 2012


In the NSClient++ documentation, CheckCPU works with normal integers as
thresholds (so no %-sign required).

As an alternative, you can also check the CPU Utilization with the
NSClientListener/check_nt plugin:
http://nsclient.org/nscp/wiki/NSClientListener

I use this way of checking the cpu loads/percentages for several hundreds
of Windows servers and it works just fine.

On Mon, Jan 30, 2012 at 12:06 PM, Matthew Jurgens
<nagiosusers at edcint.co.nz>wrote:

>  You might like to try
>
> www.edcint.co.nz/checkwmiplus
>
>
> On 30/01/2012 9:07 PM, Robert Jackson wrote:
>
>  Why does the NSClient++ command CheckCPU always sit as a critical
> condition within Nagios? The command I have in place is:****
>
> ** **
>
> $USER1$/check_nrpe -H $HOSTADDRESS$ -c CheckCPU -a warn=$ARG1$ crit=$ARG2$
> time=5m****
>
> ** **
>
> $ARG1$ is set to 80%  and $ARG2$ is set to 95% (have tried with and
> without % symbol)****
>
> ** **
>
> The output display in Nagios is: CRITICAL: 5m: average load 15% > critical
> ****
>
> ** **
>
> Anyone have any ideas why this is generating a critical condition?****
>
> ** **
>
> Regards,****
>
> Rab.****
>
> =============================================================****
>
> Robert Jackson                                  Phone: +44 (0) 141 332 7999
> ****
>
> IT Manager                                           Fax: +44 (0) 141 331
> 2820****
>
> Walker Martyn Ltd****
>
> 1 Park Circus Place                            Email:
> rab at walkermartyn.co.uk****
>
> Glasgow G3 6AH, Scotland                   Web:
> http://www.walkermartyn.co.uk****
>
> =============================================================****
>
>
> --
>  Smartmon System Monitoring <http://www.smartmon.com.au>
> www.smartmon.com.au
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> 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/20120130/7dc3d363/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
-------------- 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