WMI server 2008 IIS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eric.g
Posts: 1
Joined: Fri Aug 31, 2012 4:08 pm

WMI server 2008 IIS

Post 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
yancy
Posts: 523
Joined: Thu Oct 06, 2011 10:12 am

Re: WMI server 2008 IIS

Post 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
Locked