Service notifications when host is down
Ben Whaley
Benjamin.Whaley at colorado.edu
Thu Apr 22 00:59:11 CEST 2004
> I though of setting a 'ping' service check on the host, and making
all other
> checks dependent on it, but that seems to me to be more of a
workaround than
> a solution, and it doesn't fully solve the scheduled downtime problem.
Yes, we had the same idea. I am currently using some other, similar work
arounds to solve problems that Nagios doesn't have a solution for but
they have introduced more problems than they've fixed.
What's strange about this particular case, however, is that Nagios
*usually* catches it. For example, in the following sequence, the host
down alert was generated before the service checks, thus avoiding the
unnecessary notification:
[04-21-2004 06:49:06] SERVICE ALERT:
host-xxx;load;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 10 seconds.
[04-21-2004 06:49:06] SERVICE ALERT: host-xxx;Load Combo
check;CRITICAL;HARD;1;(Service Check Timed Out)
[04-21-2004 06:49:06] SERVICE ALERT: host-xxx;httpd
processes;CRITICAL;HARD;1;CHECK_NRPE: Socket timeout after 10 seconds.
[04-21-2004 06:49:06] HOST ALERT: host-xxx;DOWN;HARD;6;PING CRITICAL -
Packet loss = 100%
Any ideas?
Thanks,
Ben
Steve Shipway wrote:
> Ben Whaley wrote:
>
>>I had a problem this morning where a host was down but I
>>received a service notification. I have disabled host
>>notifications altogether but I don't want to know about a
>>service being unavailable if a host is down. Below is from the
>>Alert History.
>
>
> We have this problem as well. I thought that Nagios was intelligent enough
> to spot host down, and just send a 'host down' alert rather than alerts for
> all the services on that host? Also, if you put scheduled downtime on a
> host, surely it should automatically stop the service checks suring this
> time and notifications for services as well? As far as I can see, even
> though the host is in downtime, the service checks keep going (and of course
> send out alerts...)
>
> I though of setting a 'ping' service check on the host, and making all other
> checks dependent on it, but that seems to me to be more of a workaround than
> a solution, and it doesn't fully solve the scheduled downtime problem.
>
> I'm guessing I've just set something up wrong, but I can't see what it is!
>
> Steve
>
> ---
> Steve Shipway: ITSS, University of Auckland
> Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/
> ** We can only discover new oceans when we have the **
> ** courage to lose sight of the shore. **
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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