Page 1 of 1

WMI server 2008 IIS

Posted: Fri Aug 31, 2012 4:18 pm
by eric.g
I just installed a Nagios XI system to test out. I follow the instructions in the two docs below from the Nagios library. Most of the monitors I'm checking seem to work fine but IIS is failing

http://library.nagios.com/library/produ ... ent-for-xi
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf


Nagios XI is running on CentOS 6.3 brand new install of latest version

Server 2008 R2 Enterprise Edition.

All the other monitors seem to be working finie, the IIS Web Server Montior is returning
UNKNOWN - The WMI query had problems. The target host (xxx.xx.xx.xxx) might not have the required WMI classes installed. This can happen, for example, if you are trying to checkiis but IIS is not installed. It can also happen if your version of Windows do

The check which is being run is
check_xi_service_wmiplus!'MYUSER'!'MYPASSWD'!checkservice!-a 'W3SVC' (Userid and pass sanitized)

The W3SVC is running on the target machine.

Can anyone see anything that I've missed off the top of your head?

Thanks
Eric

Re: WMI server 2008 IIS

Posted: Tue Sep 04, 2012 10:34 am
by yancy
Eric,

Can you give the following a test to see if the WMI query is working:

Code: Select all

cd /usr/local/nagios/libexec
./check_wmi_plus.pl -H HOST -u USER -p PASS -m checkiis -s connections -a _total
(replace HOST, USER and PASS) with your user credentials.

Regards,

-Yancy