I need to monitor IIS to determine whether its running, stopped, etc. I've been looking at plugins, however they arent many available for this task. One plugin I looked at was the check_iis_site. However, this monitors an iis site rather than iis itself. Is there a way to monitor IIS through Nagios?
CentOS 5.6, 32 Bit,VMware
Monitoring IIS
Re: Monitoring IIS
The WMI plugin has the capability to monitor running services, such as IIS.
Or if you want to go a different route you can follow this doc:
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
And then use the bundled Windows Server wizard to monitor services.
Or if you want to go a different route you can follow this doc:
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
And then use the bundled Windows Server wizard to monitor services.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Monitoring IIS
Hi,
When I use WMI to monitor running services, the status for all the services shows 'Critical' with a status information of 'null.'
How can I fix this?
Thanks,
Zaara
When I use WMI to monitor running services, the status for all the services shows 'Critical' with a status information of 'null.'
How can I fix this?
Thanks,
Zaara
Re: Monitoring IIS
Run in terminal as root:
Let us know if this fixed your problem.
Code: Select all
# yum -qy install perl-DateTime
# yum -qy install perl-Config-IniFiles
# yum -qy install perl-List-MoreUtilsBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitoring IIS
We have similar 'null' Information with WMI checks. I installed the client on NagiosXI server as described in docs, but I noticed that the client is for centos and we have rhel6. Could that be the problem? Also tried to install perl-DateTime and perl-List_MoreUtils but yum cannot find such packages... Please help. (The WMI service is running and 135 TCP port is open.)
Re: Monitoring IIS
The WMI client must be installed successfully first in order to be able to monitor Windows machines. The process is described here:
http://assets.nagios.com/downloads/nagi ... For_XI.pdf
If you receive any errors during the installation, it would not work. Installing the perl Date::Time module could be a pain in a neck on some distros but it has to be done first.
Only after you installed the WMI client successfully, you can install the WMI wizard:
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf
If you installed the wizard with a failed WMI client installation you will have to fix this by:
1. Installing the WMI client
2. Re-installing the WMI wizard
If you fail to do so, you will receive "critical" and "null status" errors.
http://assets.nagios.com/downloads/nagi ... For_XI.pdf
If you receive any errors during the installation, it would not work. Installing the perl Date::Time module could be a pain in a neck on some distros but it has to be done first.
Only after you installed the WMI client successfully, you can install the WMI wizard:
http://assets.nagios.com/downloads/nagi ... ng_WMI.pdf
If you installed the wizard with a failed WMI client installation you will have to fix this by:
1. Installing the WMI client
2. Re-installing the WMI wizard
If you fail to do so, you will receive "critical" and "null status" errors.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Monitoring IIS
I did not receive any errors during WMI client install on rhel6 (32-bit). I noticed, though, that the installed package is for CentOS. How can I make sure perl Date::Time module is installed?
Thank you.
Thank you.
Re: Monitoring IIS
Without the perl Date::Time module installed, it will not work. Try running in terminal:
Then re-install the WMI client and finally re-install the WMI wizard.
Code: Select all
# yum install perl-DateTime.i686Be sure to check out our Knowledgebase for helpful articles and solutions!