we have a problem with the following check_wmi_plus.pl command:
Code: Select all
$ ./check_wmi_plus.pl -H <IP addr> -A ini/.wmi_auth -m checkservice -a auto -w 0 -c 1
UNKNOWN - The WMI query had problems. The error text from wmic is: [wmi/wmic.c:212:main()] ERROR: Retrieve result data.
NTSTATUS: NT code 0x80041003 - NT code 0x80041003We have configured the dedicated domain user as documented:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
with only the different that we added the user to "Performance Monitor Users" group, and added the privileges to the group and not to the user.
Other check works:
Code: Select all
$ ./check_wmi_plus.pl -H <IP addr> -A ini/.wmi_auth -m info -s os
OK - OS is Microsoft Windows Server 2008 R2 Standard [...]Code: Select all
$ ./check_wmi_plus.pl -H <IP addr> -A ini/.wmi_auth -m checkservice -a auto -w 0 -c 1
UNKNOWN - The WMI query had problems. The error text from wmic is: [wmi/wmic.c:212:main()] ERROR: Retrieve result data.
NTSTATUS: NT code 0x80041003 - NT code 0x80041003