Unknown command(s): check_wmi


#1

Hi All,

Any one could you help me on below command.

Syntax: ./check_nrpe -H xx.xx.xx.xx -c check_wmi -a “Query=Select * from SoftwareLicensingService” MinWarn=25 MinCrit=5 Check:KMSCurrentCount=KeyManagementServiceCurrentCount

Output :

Unknown command(s): check_wmi

NSClient version: I (0.5.0.65 2016-11-13) seem to be doing fine…


#2

Could please any one help me on this…


#3

Have you loaded the module?

nscp settings --activate-module CheckWMI

nsclient.ini:

[/modules]

; CheckWMI - Check status via WMI
CheckWMI = enabled

#4

CheckWMI module not activated…

Once activated , I’ll let you know


#5

Now i’m getting following error.

Syntax:

./check_nrpe -H 10.122.33.96 -c check_wmi -a “query=Select * from SoftwareLicensingService” “critical=15” “warning=25” Check:KMSCurrentCount=KeyManagementServiceCurrentCount

Output :

UNKNOWN Invalid command line: unrecognised option ‘Check’