Check_wmi query
Posted: Tue Dec 05, 2017 9:35 am
Good afternoon,
I have defined the following two services which run fine on 35 servers:
both services report "1,1,1,1" on all servers but one, where both services report:
I have remoted onto the server and run:
with no errors, and I've reinstalled NSClient++ (which has NRPE support in the nsclient++.ini which is used on all the other hosts too)
Can anyone think of anything I might have missed on this one particular host?
Thanks in advance
Pete
I have defined the following two services which run fine on 35 servers:
Code: Select all
#check_nrpe Number of Logical Processors
define service{
use generic-service
#host_name MyHost
hostgroup_name MyHostGroups
service_description Logical_Processors_TA
check_command check_nrpe!check_wmi! -a "query=Select NumberOfLogicalProcessors from Win32_Processor"
}
#check_nrpe Number of Cores
define service{
use generic-service
#host_name MyHost
hostgroup_name MyHostGroups
service_description Cores_TA
check_command check_nrpe!check_wmi! -a "query=Select NumberOfCores from Win32_Processor"
}
Code: Select all
Unknown command(s): check_wmi
Code: Select all
C:\Program Files\NSClient++\nscp.exe settings --activate-module CheckWMI --add-defaults
Can anyone think of anything I might have missed on this one particular host?
Thanks in advance
Pete