host/service dependencies
Assaf Flatto
assaf.flatto at ssp.uk.com
Tue Jul 22 17:20:54 CEST 2008
I know that what you say should work , but when i have a host down i keep getting the alerts for
each of it's associated services .
any idea what i missed and why this is happening ?
On Tuesday 22 July 2008 14:50:28 Marc Powell wrote:
> On Jul 22, 2008, at 9:17 AM, Assaf Flatto wrote:
> > Hello
> >
> > I'm trying to figure out a way or logic of service /host dependency .
> > In today's dependency logic - there is no correlation between host
> > failure and the host services ,
> > even if the host is down - services are still being checked and
> > reported as critical .
>
> They may be displayed as CRITICAL, and they are, but no alerts are
> sent for them.
>
> > there is a need to designate a specific dependency check for
> > services and then it will only "learn"
> > of the down status .
> >
> > Is there a way to tell nagios that once a server is down - not to
> > check the services assigned to
> > this server ? to me it seems like this
>
> Not really. Nagios is primarily a service monitor and services are
> central to it's check logic. If a service reports a non-OK state,
> Nagios will check the status of the host. If the host reports a non-OK
> state, notifications for services are suppressed but will continue to
> be checked. The service checks are necessary because Nagios uses them
> to determine when the host has recovered. Bear in mind that the normal
> and recommended operation of nagios is without regularly scheduled
> active host checks. In such a configuration, a host recovery would
> never be noticed if service checks were disabled.
>
> > So once the host is down/unknown/pending , all the services on the
> > server are not checked and do not
> > send alerts .
>
> Nagios automagically suppresses alerts for services on down/
> unreachable hosts already. No special configuration is necessary other
> than a host check_command that works correctly.
>
> Pending status means that no services on the host have been checked
> yet. No special action necessary there.
>
> --
> Marc
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.
We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.
Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK Limited by
email, you consent to us monitoring and reading any such correspondence.
Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.
Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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