What check is behind "IIS Web Server"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

What check is behind "IIS Web Server"

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

Re: What check is behind "IIS Web Server"

Post by yancy »

do you get any errors when you hit "apply configuration" in Core Config Manager?
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

Re: What check is behind "IIS Web Server"

Post by AWS »

No, no errors shown.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: What check is behind "IIS Web Server"

Post by scottwilkerson »

Go to
Configure --> Core Configure Manager --> Services

Search: IIS Web Service

It it found now?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

Re: What check is behind "IIS Web Server"

Post by AWS »

Nothing found.
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

Re: What check is behind "IIS Web Server"

Post 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
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

Re: What check is behind "IIS Web Server"

Post 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)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: What check is behind "IIS Web Server"

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

Re: What check is behind "IIS Web Server"

Post 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. :?:
AWS
Posts: 63
Joined: Fri May 13, 2011 4:33 pm
Location: Vancouver, WA

Re: What check is behind "IIS Web Server"

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