Check WMI Seems Blocked
Posted: Thu Mar 05, 2015 9:55 am
We have a new server with a clean CentOS 7 install and a clean Nagios Core install which comes with check_wmi_plus packaged in.
We are trying to get this to work to read my Windows 8.1 machine. It seems that my windows machine is blocking WMI.
Here is what I get when I have my Windows machine firewall on:
Here is what I get when I turn OFF my Windows machine firewall:
What do we have to configure to get this working?
We are trying to get this to work to read my Windows 8.1 machine. It seems that my windows machine is blocking WMI.
Here is what I get when I have my Windows machine firewall on:
Code: Select all
[root@livm51 plugins]# ./check_wmi_plus.pl -H xxx.xxx.xxx.xxx -m checkdrivesize -u username -p pwd
UNKNOWN - Plugin Timed out (15 sec). There are multiple possible reasons for this, some of them include - The host 192.168.19.154 might just be really busy, it might not even be running Windows.Code: Select all
[root@livm51 plugins]# ./check_wmi_plus.pl -H xxx.xxx.xxx.xxx -m checkdrivesize -u username -p pwd
UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied