Re: [icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Jorge Ferrando
I'll try it on Monday and let you know. Thanks! On Fri, Feb 10, 2017 at 6:02 PM, Antony Stone < antony.st...@icinga.open.source.it> wrote: > On Friday 10 Feb 2017 at 16:58, Jorge Ferrando wrote: > > > > Maybe you should show us the dependency definitions you've created for > an > > > example hos

Re: [icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Antony Stone
On Friday 10 Feb 2017 at 16:58, Jorge Ferrando wrote: > > Maybe you should show us the dependency definitions you've created for an > > example host/service, so we can see where you're starting from. > > > >From icinga2 documentation: > "A service can depend on a host, and vice versa. A service ha

Re: [icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Jorge Ferrando
> > Maybe you should show us the dependency definitions you've created for an > example host/service, so we can see where you're starting from. > > >From icinga2 documentation: "A service can depend on a host, and vice versa. A service has an implicit dependency (parent) to its host." Why should

Re: [icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Antony Stone
On Friday 10 Feb 2017 at 15:54, Horatiu N wrote: > I've had this issue posted to this mailing list some months ago, and the > reply I received was that the dependencies that a service has to it's > parent host are automatically created. > > So, what definitions would anybody need to create ? Wel

Re: [icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Horatiu N
I've had this issue posted to this mailing list some months ago, and the reply I received was that the dependencies that a service has to it's parent host are automatically created. So, what definitions would anybody need to create ? I am also interested in fixing this. On 2/10/2017 3:44 PM,

Re: [icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Antony Stone
On Friday 10 Feb 2017 at 13:29, Jorge Ferrando wrote: > Hi Antony > > I already read that before but I don't see how that can solve my problem. > Can you clarify it? "If the dependency should be triggered in the parent object's soft state, you need to set ignore_soft_states to false." Have you

Re: [icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Jorge Ferrando
Hi Antony I already read that before but I don't see how that can solve my problem. Can you clarify it? I also read in icinga (not icinga2) documentation this: "Hard states occur for hosts and services in the following situations: - When a service check results in a non-OK state and its

Re: [icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Antony Stone
On Friday 10 Feb 2017 at 13:16, Jorge Ferrando wrote: > Is there anyway to configure icinga to not send notifications for services > if the host is DOWN? > > and > > Is there anyway to configure icinga to not send notifications for services > if the host is DOWN but in SOFT state? See 3.9 of h

[icinga-users] Avoid notification for services when host is DOWN

2017-02-10 Thread Jorge Ferrando
Hello If we have a host H with a service S, when icinga detects H is down it marks it as SOFT state and doesnt send any notification until it reaches max_check attempts. So far everything is good. The problem we have is even if S has max_check_attempts 3, icinga marks it HARD state as soon as it