NRPE/NSClient++ CheckCPU Error?

Matthew Jurgens nagiosusers at edcint.co.nz
Fri Feb 10 08:56:10 CET 2012


Just dropping this as a note for the mailing list .....

It turned out that using versions of perl modules older than the 
recommended ones was the cause of the problem - specifically 
Config::Inifiles

However, the new version of Check WMI Plus (v1.50), works around the 
limitations of the older module.

On 1/02/2012 5:45 PM, Robert Jackson wrote:
>
> Hi Matthew,
>
> Create new blank check_wmi_plus.ini (chown --R Nagios:Nagios 
> check_wmi_plus.ini to allocate permissions). Ran the command as 'root' 
> from a command prompt:
>
> /usr/lib/nagios/plugins/check_wmi_plus.pl -H wm-tsrv2 -u 'nagios-wmi' 
> -p 'wmicheck' -m checkts -s sessions2003 --d -z
>
> Result output is:
>
> Command Line (v1.49): /usr/lib/nagios/plugins/check_wmi_plus.pl -H 
> wm-tsrv2 -u nagios-wmi -p wmicheck -m checkts -s sessions2003 -d -z
>
> Conf File Dir: /usr/lib/nagios/plugins/edcint
>
> Loaded Conf File /usr/lib/nagios/plugins/edcint/check_wmi_plus.conf
>
> Opening Ini Files ...
>
>    opening first ini file: 
> /usr/lib/nagios/plugins/edcint/check_wmi_plus.d/check_wmi_plus.ini
>
>    checking ini dir /usr/lib/nagios/plugins/edcint/check_wmi_plus.d, 
> found 1 file(s)
>
>    opening first ini file: check_wmi_plus.ini
>
> INIFILE and/or INIDIR are set but there were no ini file(s) or an 
> error occurred trying to read them.
>
> A valid MODE and/or SUBMODE must be specified
>
> Typical Usage: -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m MODE [-s 
> SUBMODE] [-a ARG1 ] [-w WARN] [-c CRIT]
>
> Full Usage: -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m MODE [-s 
> SUBMODE] [-b BYTEFACTOR] [-w WARN] [-c CRIT] [-a ARG1 ] [-o ARG2] [-3 
> ARG3] [-4 ARG4] [-t TIMEOUT] [-y DELAY] [--namespace WMINAMESPACE] 
> [--nodatamode] [--nodataexit NODATAEXIT] [--nodatastring NODATASTRING] 
> [-d] [-z] [--inifile=INIFILE] [--inidir=INIDIR] [--inihelp] 
> [--nokeepstate] [--keepexpiry KEXPIRY] [--keepid KID] [-v OSVERSION] 
> [--help] [--itexthelp]
>
> Help as a Manpage: --help
>
> Help as Text: --itexthelp
>
> -- 
> Smartmon System Monitoring <http://www.smartmon.com.au>
> www.smartmon.com.au <http://www.smartmon.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120210/398222f5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
-------------- 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