Page 1 of 1

W3SVC Service Monitoring Problems

Posted: Sat Feb 02, 2013 6:42 am
by senate014
Ok, I've got a strange problem here! Let's hope someone can solve it :D

My nagios server is currently monitoring these Domain/Exchange 2003 Servers:

My Support Company Office

192.168.10.100 PDC/Exchange 2003 Backend
192.168.10.101 Exchange 2003 Frontend
192.168.10.113 Exchange 2003 Backend
192.168.10.108 Nagios Server

Customer Company 1

192.168.80.100 PDC/Exchange 2003 Backend
192.168.80.101 PDC/Exchange 2003 Front End

Customer Company 2

192.168.25.120 PDC/Exchange 2003 Frontend & Backend

They are connected to my support office using IPSec links so I can monitor their network.

Now here's the problem......

Nagios monitors my servers W3SVC service just fine that are on the 192.168.10.XXX subnet. But when I add my customers servers to the W3SVC monitoring config they just don't show up when I take a look at the Nagios web page.

All other services that Nagios is checking like Diskspace etc... work fine.

I have the NSClient++ installed on all the servers and it's running fine.

My config looks like this:

# Create a service for monitoring the W3SVC service
# Change the host_name to match the name of the host you defined above

define service{
use generic-service
host_name csdc001.corporatesite.local,csfe001.corporatesite.local,ibdc001.ib.corporatesite.local,ibtfsdc001.ibtfs.headoffice.local,csukdc001.cardiosolutions.local,ibtdc001sl.headoffice.local,ibtfs001sl.headoffice.local
service_description W3SVC
check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
}

Only these servers which are on the different subnets are not working:

csukdc001.cardiosolutions.local
ibtdc001sl.headoffice.local
ibtfs001sl.headoffice.local

I thought it might be a firewall issue but if the other services like Diskcheck etc.. are responding fine then it kind of makes me think not?

Thanks!

Andy

Re: W3SVC Service Monitoring Problems

Posted: Mon Feb 04, 2013 11:25 am
by abrist
Are any other servicestate checks working on those hosts? Any clues in your nagios.log?

Re: W3SVC Service Monitoring Problems

Posted: Sat Feb 16, 2013 12:26 pm
by senate014
how do i check the service states?

Re: W3SVC Service Monitoring Problems

Posted: Sat Feb 16, 2013 1:22 pm
by senate014
Don't worry. I had a ; instead of a , separating the host name in the windows.cfg service line. DOH!