Too stupid? Services are available, but nagios reports host to be down!

Matthew Macdonald-Wallace mmw at tiger-computing.co.uk
Wed Apr 9 10:04:14 CEST 2008


On Tue, 8 Apr 2008 12:50:01 +0200
Heiko Schlittermann <hs at schlittermann.de> wrote:

> I've a list of hosts, these hosts are not available for ping, but
> normal service checks (SSH, SMTP, ...) work. Nagios reports theses
> hosts beeing down! Ugly!
> 
> If I remember well, older nagios versions "knew" that's enough to see
> one service on a host to know this host has to be up.

Not sure if it's available in 3.x (we're still happily using 2.x here!)
however we use ssh as our check-host-alive command for the reasons
that you've listed above (we block most if not all ICMP traffic to
our hosts unless it's specifically required.). A connection is
initialised via ssh and if that works, the host is deemed to be up.

We also use NRPE to check that sshd is running so if the host appears
as down however the all the services apart from sshd are up, we know
that it is most likely an issue with sshd, not the server.

Hope this helps,

Matt
-- 
|Matthew Macdonald-Wallace
|Tiger Computing Ltd
|"The Linux Specialists"
|
|Tel: 0330 088 1511
|Web: http://www.tiger-computing.co.uk
|
|Registered in England. Company number: 3389961
|Registered address: Wyastone Business Park,
| Wyastone Leys, Monmouth, NP25 3SR

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list