Presumed service dependencies?

mail at catsnest.co.uk mail at catsnest.co.uk
Sat Nov 19 12:17:53 CET 2011


On Fri, Nov 18, 2011 at 5:21 PM, Mike Chesnut
<mikec at aggregateknowledge.com>wrote:

> On 11/17/2011 01:00 AM, mail at catsnest.co.uk wrote:
> >
> >
> > On Wed, Nov 16, 2011 at 9:33 PM, Mike Chesnut
> > <mikec at aggregateknowledge.com <mailto:mikec at aggregateknowledge.com>>
> wrote:
> >
> >     Is there a way to tell Nagios that I want all services on a host to
> be
> >     dependent on that host without having to write a separate
> >     servicedependency for every single service?  I can't even conceive
> of a
> >     situation where, when a host is down, I still want to get notified
> for
> >     all of its services being down too.
> >
> >     Hopefully I'm just missing something simple...  Ideally I'd like to
> set
> >     this globally, in fact.
> >
> >
> > Unless i am missing something that is the default behaviour, or at least
> > how it works for us =)
>
> I think what happens is something like this:
>
> 1. Nagios polls the host, it's UP
> 2. Host goes down
> 3. Nagios polls the services, they're DOWN
>
> I suppose the way to address this would be to set it to not alert until
> the service has failed twice (and presume the host will be checked again
> in between those two service checks).  Is that what most people do?  Or
> is there a better way?
>
>
Nagios  will do a host check if the service fails

The standard set up is for a check to hard fail (and notify) only after
mutiple failed checks...
have a look at "max_check_attempts" in the manual.

--
Ritchie

 Thanks,
> Mike
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure
> contains a definitive record of customers, application performance,
> security threats, fraudulent activity, and more. Splunk takes this
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20111119/02d8d203/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
-------------- next part --------------
_______________________________________________
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