Page 1 of 2
What check is behind "IIS Web Server"
Posted: Thu Apr 05, 2012 1:43 pm
by AWS
Nagios XI 2011R2.2
CentOS 5.7
32-bit
I have a wizard called "Exchange Server" for setting up a sever to monitor. I've configured it for other servers and on this one particular server I need to change the config for it because it's reporting a connection error.
When I try to view the config at Service Status Detail --> IIS Web Service (Host name) --> Configure (tab) click "Re-configure this service" it comes back with
This service appears to make use of an advanced configuration. Use the Nagios Core Config Manager to modify the settings for this service.
So then I navigate to Configure --> Core Configure Manager --> Services --> Select my host name in Configure Name Filter, the IIS Web Service is not listed.
What do I have to do?
Thanks
Re: What check is behind "IIS Web Server"
Posted: Thu Apr 05, 2012 3:01 pm
by yancy
do you get any errors when you hit "apply configuration" in Core Config Manager?
Re: What check is behind "IIS Web Server"
Posted: Thu Apr 05, 2012 3:13 pm
by AWS
No, no errors shown.
Re: What check is behind "IIS Web Server"
Posted: Thu Apr 05, 2012 3:50 pm
by scottwilkerson
Go to
Configure --> Core Configure Manager --> Services
Search: IIS Web Service
It it found now?
Re: What check is behind "IIS Web Server"
Posted: Thu Apr 05, 2012 4:16 pm
by AWS
Nothing found.
Re: What check is behind "IIS Web Server"
Posted: Thu Apr 05, 2012 4:28 pm
by AWS
Ahh, if I search IIS Web Server with All Configs, I find my other servers that are also using this monitor/command but the server in question is not shown. From here I can see one of the other server's config and it's not doing anything I am not already doing:
Command: check_xi_service_nsclient
$ARG1$ <null>
$ARG2$ SERVICESTATE
$ARG3$ -l W3SVC -d SHOWALL
I navigate back to Home --> Service Detail --> click on the IIS Web Server service in question --> Service Status Detail --> Configure (tab) --> Delete this service and I get an error (expected at this point):
Could not find a unique id for this service
Service cannot be deleted using this method
I go back into the Core Configuration Manager but I don't know how to find an unlinked/orphaned service. ?
Thanks
AWS
Re: What check is behind "IIS Web Server"
Posted: Thu Apr 05, 2012 5:28 pm
by AWS
Some event log entries:
2012-04-05 15:26:08Warning: Duplicate definition found for service 'IIS Web Server' on host 'SieTG' (config file '/usr/local/nagios/etc/services/Aethena.cfg', starting on line 159)
2012-04-05 15:26:08Warning: Duplicate definition found for service 'IIS Web Server' on host 'Trogdor' (config file '/usr/local/nagios/etc/services/Aethena.cfg', starting on line 159)
Re: What check is behind "IIS Web Server"
Posted: Fri Apr 06, 2012 9:29 am
by scottwilkerson
You might want to go to
Configure --> Core Configure Manager --> Services
select Aethena.cfg from the dropdown
find the IIS WEb Server -> modify
remove the hosts SieTG & Trogdor
Re: What check is behind "IIS Web Server"
Posted: Fri Apr 06, 2012 9:41 am
by AWS
You might want to go to
Configure --> Core Configure Manager --> Services
select Aethena.cfg from the dropdown
find the IIS WEb Server -> modify
remove the hosts SieTG & Trogdor
No other hosts are/were selected, just Aethena. SieTG & Trogdor were not selected.

Re: What check is behind "IIS Web Server"
Posted: Fri Apr 06, 2012 9:53 am
by AWS
I looked at each *.cfg file in '/usr/local/nagios/etc/services/<hostname>.cfg' and each file only has one defined service for "IIS Web Server" and each host_name property only has one value <the host name> assigned to it
Code: Select all
define service {
host_name Aethena
service_description IIS Web Server
blaa blaa blaa <edited to save space>
}
All three *.cfg files look the same with the exception being host_name is set to the correct, single host name value.
Thx