Host services Auto Discovery

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
krw
Posts: 71
Joined: Tue May 29, 2012 2:01 pm

Host services Auto Discovery

Post by krw »

Ok, so still migrating over gear to nagios.

I started adding servers and decided to test things a bit.

I hit Auto-Discover Wizard, added the IP address of the server which has
ssh, http, ftp and a few UDP services. UDP I don't worry about at this point.

So the auto discover wizard comes back with ssh, ftp, http, smtp and pop3.
Tell it not to monitor smtp or pop3 as those ports are not open and there is
nothing running on those ports and don't know why nagios thought they
were running.

Ok the server is being monitored. As a test I turn off ftp and http. I waited
20 mins and nagios said that ftp and http were happily up and running the
whole time. Meantime our other NMS had already alerted me a couple of times
that those services were down.

So what gives here? Why would nagios say that pop3 and smtp are running when
they are clearly not. Those ports are closed. Then to top it off, nagios did not
detect that ftp and http were no longer running.

Makes me wonder if some other services I have added are not being monitored
correctly now.

Does the auto-discover feature not work? Is there something I'm missing to make
it work?

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

Re: Host services Auto Discovery

Post by scottwilkerson »

Auto Discovery wizard sets up TCP checks against the ports on the host you are monitoring

Can you see if you can telnet from the Nagios XI machine to the ports on the host with them disabled
ie.

Code: Select all

telnet <HOST_IP> 80
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
krw
Posts: 71
Joined: Tue May 29, 2012 2:01 pm

Re: Host services Auto Discovery

Post by krw »

scottwilkerson wrote:Auto Discovery wizard sets up TCP checks against the ports on the host you are monitoring

Can you see if you can telnet from the Nagios XI machine to the ports on the host with them disabled
ie.

Code: Select all

telnet <HOST_IP> 80
I was away for a week, just catching up.

I will have to start again on this, see how it goes and update when I get some results.

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

Re: Host services Auto Discovery

Post by scottwilkerson »

Thanks for reporting back. Let us know how it goes
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked