Re: [Nagios-users] Services are dependent on the host they run on?
Roberto Nunnari wrote: > Hi Gerald. > > > Ortner, Gerald wrote: >> What host/service check interval/max check attempts do you use? >> Maybe the host check interval is much longer than the service check interval. >> If the services become hard state critical before the host check does, the >> service notifications will be sent, as Nagios isn't aware of the host >> problem. >> I don't know how Nagios behaves if the host is only in soft state? > > I believe that may be the problem. > The service and host check interval were all 1 minute. > Maybe, if the checks on the services happen to fail before the checks on > the host, then notification for all failed services will be sent anyways. > > This assumes that nagios doesn't care about service dependency on the > host running the service when the host is in soft state critical, but > only when the host is in hard state critical. > > I modified host/service check interval as follow: > define host { > ... > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval1 > ... > } > define service { > ... > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval2 > ... > } > > The above should always give host checks for the host to reach a hard > state critical before the services in case the host goes down. > > I've already run an easy test and the result confirmed what stated > above, but I'll run some more tests as soon as possible, maybe already > tomorrow, and report the results here. Hi all. I can confirm that now I can no longer reproduce that undesired behavior. So it seems that it was a misconfiguration of the host/service check interval/max check attempts. I would be very helpful though, if 'nagios -v' would signal that, at least as a warning. If I'll ever get round to, I'd be pleased to contribute a patch for that. Thank you very much and best regards. Roberto Nunnari > > Thank you to all. > Robi > >> hth >> gerald >> >>> -Ursprüngliche Nachricht- >>> Von: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] >>> Gesendet: Freitag, 27. Mai 2011 09:01 >>> An: Nagios Users List >>> Betreff: Re: [Nagios-users] Services are dependent on the host they run on? >>> >>> Hi Mark. >>> >>> >>> Frost, Mark {PBC} wrote: >>>> Maybe I'm missing something but I thought that suppressing notifications >>> for services on the same host when the host goes down is the default >>> behavior. It's only when you have to suppress notifications from different >>> hosts that you need host/service dependencies. >>> >>> That's exactly what I was expecting, but it doesn't seem to work that way.. >>> at >>> least not for me. >>> >>> Yesterday for instance, a host went down because of a hd controller failure, >>> and I received 22 sms.. >>> >>> Robi >>> >>> >>>> Mark >>>> >>>> -Original Message- >>>> From: Assaf Flatto [mailto:nag...@flatto.net] >>>> Sent: Thursday, May 26, 2011 1:39 PM >>>> To: Nagios Users List >>>> Subject: Re: [Nagios-users] Services are dependent on the host they run >>> on? >>>> Martin Hugo wrote: >>>>> Hi Robi, >>>>> >>>>> I have never done it but I know you can make hosts/services children that >>> will not report if the parent is down. >>>>> Hope this puts you on the right track. >>>>> >>>>> Marty >>>>> >>>>> -Original Message- >>>>> From: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] >>>>> Sent: Thursday, May 26, 2011 12:47 PM >>>>> To: nagios-users@lists.sourceforge.net >>>>> Subject: [Nagios-users] Services are dependent on the host they run on? >>>>> >>>>> Hi all. >>>>> >>>>> Some time ago, I've installed and configured nagios to monitor our IT >>>>> infrastructure. >>>>> >>>>> It works very well and we're happy with it. >>>>> >>>>> There's still one problem though: >>>>> When a host goes down, nagios sends notifications not only for host >>>>> down, but also for all services running on that ho
Re: [Nagios-users] Services are dependent on the host they run on?
Hi Benny. C. Bensend wrote: >> Yesterday for instance, a host went down because of a hd controller >> failure, and I received 22 sms.. > > I apologize if this has already been stated, I haven't been following > this thread too closely. > > When this happened, was the host down *in a network sense*, or was > it just down in a user sense? Ie, was it still pingable? The host was not pingable. > A situation I've dealt with in the past is that a host's network > stack might still be "alive enough" (ie, pingable), while the host > itself is sitting at a kernel panic or locked up. In that case, > if you're using ping for the host check, Nagios would have no way > of knowing that the host is down, because it still responds. > > In those [rare] cases, I've had to define a second command that > requires a more intelligent response from a host, and then used > that as the host check command. Notable examples would be old > school Sun machines, which are still pingable when they're sitting > at the OK> prompt (ie, operating system is not running). Thank you Benny, but this was not the case. The host was not pingable at that time. I'm not 100% sure, but the problem maybe was maybe caused by a misconfiguration of the host/service check interval/max check attempts. Best regards. Robi -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Hi Gerald. Ortner, Gerald wrote: > What host/service check interval/max check attempts do you use? > Maybe the host check interval is much longer than the service check interval. > If the services become hard state critical before the host check does, the > service notifications will be sent, as Nagios isn't aware of the host problem. > I don't know how Nagios behaves if the host is only in soft state? I believe that may be the problem. The service and host check interval were all 1 minute. Maybe, if the checks on the services happen to fail before the checks on the host, then notification for all failed services will be sent anyways. This assumes that nagios doesn't care about service dependency on the host running the service when the host is in soft state critical, but only when the host is in hard state critical. I modified host/service check interval as follow: define host { ... max_check_attempts 3 normal_check_interval 1 retry_check_interval1 ... } define service { ... max_check_attempts 3 normal_check_interval 3 retry_check_interval2 ... } The above should always give host checks for the host to reach a hard state critical before the services in case the host goes down. I've already run an easy test and the result confirmed what stated above, but I'll run some more tests as soon as possible, maybe already tomorrow, and report the results here. Thank you to all. Robi > > hth > gerald > >> -Ursprüngliche Nachricht- >> Von: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] >> Gesendet: Freitag, 27. Mai 2011 09:01 >> An: Nagios Users List >> Betreff: Re: [Nagios-users] Services are dependent on the host they run on? >> >> Hi Mark. >> >> >> Frost, Mark {PBC} wrote: >>> Maybe I'm missing something but I thought that suppressing notifications >> for services on the same host when the host goes down is the default >> behavior. It's only when you have to suppress notifications from different >> hosts that you need host/service dependencies. >> >> That's exactly what I was expecting, but it doesn't seem to work that way.. >> at >> least not for me. >> >> Yesterday for instance, a host went down because of a hd controller failure, >> and I received 22 sms.. >> >> Robi >> >> >>> >>> Mark >>> >>> -Original Message- >>> From: Assaf Flatto [mailto:nag...@flatto.net] >>> Sent: Thursday, May 26, 2011 1:39 PM >>> To: Nagios Users List >>> Subject: Re: [Nagios-users] Services are dependent on the host they run >> on? >>> Martin Hugo wrote: >>>> Hi Robi, >>>> >>>> I have never done it but I know you can make hosts/services children that >> will not report if the parent is down. >>>> Hope this puts you on the right track. >>>> >>>> Marty >>>> >>>> -Original Message- >>>> From: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] >>>> Sent: Thursday, May 26, 2011 12:47 PM >>>> To: nagios-users@lists.sourceforge.net >>>> Subject: [Nagios-users] Services are dependent on the host they run on? >>>> >>>> Hi all. >>>> >>>> Some time ago, I've installed and configured nagios to monitor our IT >>>> infrastructure. >>>> >>>> It works very well and we're happy with it. >>>> >>>> There's still one problem though: >>>> When a host goes down, nagios sends notifications not only for host >>>> down, but also for all services running on that host. When a host >>>> goes down, I would like nagios to only send notifications about the >>>> host down, and not for all the services running on that host. >>>> >>>> How can I achive that? >>>> May it be a configuration error from my side? I thought that to >>>> nagios, services would be dependent from the host running them.. >>>> >>>> Any hint/advice/guidance is very welcome. >>>> >>>> Thank you and best regards. >>>> >>>> Robi >>>> >>> check out service dependencies >>> >>> http://nagios.sourceforge.net/docs/3_0/dependencies.html -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
> Yesterday for instance, a host went down because of a hd controller > failure, and I received 22 sms.. I apologize if this has already been stated, I haven't been following this thread too closely. When this happened, was the host down *in a network sense*, or was it just down in a user sense? Ie, was it still pingable? A situation I've dealt with in the past is that a host's network stack might still be "alive enough" (ie, pingable), while the host itself is sitting at a kernel panic or locked up. In that case, if you're using ping for the host check, Nagios would have no way of knowing that the host is down, because it still responds. In those [rare] cases, I've had to define a second command that requires a more intelligent response from a host, and then used that as the host check command. Notable examples would be old school Sun machines, which are still pingable when they're sitting at the OK> prompt (ie, operating system is not running). Just a thought. Benny -- "You were doing well until everyone died." -- "God", Futurama -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
What host/service check interval/max check attempts do you use? Maybe the host check interval is much longer than the service check interval. If the services become hard state critical before the host check does, the service notifications will be sent, as Nagios isn't aware of the host problem. I don't know how Nagios behaves if the host is only in soft state? hth gerald > -Ursprüngliche Nachricht- > Von: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] > Gesendet: Freitag, 27. Mai 2011 09:01 > An: Nagios Users List > Betreff: Re: [Nagios-users] Services are dependent on the host they run on? > > Hi Mark. > > > Frost, Mark {PBC} wrote: > > Maybe I'm missing something but I thought that suppressing notifications > for services on the same host when the host goes down is the default > behavior. It's only when you have to suppress notifications from different > hosts that you need host/service dependencies. > > That's exactly what I was expecting, but it doesn't seem to work that way.. at > least not for me. > > Yesterday for instance, a host went down because of a hd controller failure, > and I received 22 sms.. > > Robi > > > > > > > > Mark > > > > -Original Message- > > From: Assaf Flatto [mailto:nag...@flatto.net] > > Sent: Thursday, May 26, 2011 1:39 PM > > To: Nagios Users List > > Subject: Re: [Nagios-users] Services are dependent on the host they run > on? > > > > Martin Hugo wrote: > >> Hi Robi, > >> > >> I have never done it but I know you can make hosts/services children that > will not report if the parent is down. > >> > >> Hope this puts you on the right track. > >> > >> Marty > >> > >> -Original Message- > >> From: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] > >> Sent: Thursday, May 26, 2011 12:47 PM > >> To: nagios-users@lists.sourceforge.net > >> Subject: [Nagios-users] Services are dependent on the host they run on? > >> > >> Hi all. > >> > >> Some time ago, I've installed and configured nagios to monitor our IT > >> infrastructure. > >> > >> It works very well and we're happy with it. > >> > >> There's still one problem though: > >> When a host goes down, nagios sends notifications not only for host > >> down, but also for all services running on that host. When a host > >> goes down, I would like nagios to only send notifications about the > >> host down, and not for all the services running on that host. > >> > >> How can I achive that? > >> May it be a configuration error from my side? I thought that to > >> nagios, services would be dependent from the host running them.. > >> > >> Any hint/advice/guidance is very welcome. > >> > >> Thank you and best regards. > >> > >> Robi > >> > > check out service dependencies > > > > http://nagios.sourceforge.net/docs/3_0/dependencies.html > > > -- > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, you get > blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > ___ > Nagios-users mailing list > Nagios-users@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 OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Hi, I found a solution by adding a service dependency on the nrpe daemon. This works well with a single dependency definition for standard checks I like to have on all server but you need to define additional service dependencie for every service. When you work with hostgroups you can use them and don't need to define a dependency for every IP you want to check. Regards, Axel Am Freitag, 27. Mai. 11, 09:04:03 schrieb Roberto Nunnari: > Terry Carmen wrote: > > Quoting Assaf Flatto : > >>> Any hint/advice/guidance is very welcome. > >>> > >>> Thank you and best regards. > >>> > >>> Robi > >> > >> check out service dependencies > >> > >> http://nagios.sourceforge.net/docs/3_0/dependencies.html > > > > I'm in the same boat. > > > > This should be very simple, but I'm probably just missing something. > > The above docs show all sorts of complex dependencies, but I'm > > actually looking for something simple. > > > > If a host can't be pinged, there is little point in attempting to > > check disk space or anything else, so I'd like to disable all the > > other checks when ping fails; however according to the link above, > > this would require creating specific dependency definitions for each > > host and all services, defining everything as a dependency of ping. > > > > Is there some sort of rule or wild-card that would tell Nagios that > > all network based checks should be disabled if the host can't be pinged? > > Yes. That's exactly what I'm looking for. > Robi > > > Thanks! > > > > Terry > > --- > --- vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > ___ > Nagios-users mailing list > Nagios-users@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 -- Axel Rosenski - Administration - __ Wave Computersysteme GmbH Philipp-Reis-Str. 1-3 / 9 35440 Linden Geschäftsführer: Carsten Kellmann Registergericht Gießen HRB 1823 Tel.: +49 (0)6403 / 9050 8317 Fax: +49 (0)6403 / 9050 5089 mailto:rosen...@wave-computer.de http://www.wave-computer.de -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Assaf Flatto wrote: > Martin Hugo wrote: >> Hi Robi, >> >> I have never done it but I know you can make hosts/services children that >> will not report if the parent is down. >> >> Hope this puts you on the right track. >> >> Marty >> >> -Original Message- >> From: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] >> Sent: Thursday, May 26, 2011 12:47 PM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] Services are dependent on the host they run on? >> >> Hi all. >> >> Some time ago, I've installed and configured nagios to monitor our IT >> infrastructure. >> >> It works very well and we're happy with it. >> >> There's still one problem though: >> When a host goes down, nagios sends notifications not only for host >> down, but also for all services running on that host. When a host goes >> down, I would like nagios to only send notifications about the host >> down, and not for all the services running on that host. >> >> How can I achive that? >> May it be a configuration error from my side? I thought that to nagios, >> services would be dependent from the host running them.. >> >> Any hint/advice/guidance is very welcome. >> >> Thank you and best regards. >> >> Robi >> > check out service dependencies > > http://nagios.sourceforge.net/docs/3_0/dependencies.html Hi Assaf. I already read that.. but it is all about defining dependencies between services, even between services running on different hosts, but nothing like a dependency between a service and the host it is running on.. it should be very simple.. even implicit.. why check services and notify about services if the host the services are running on is down? There's no point in it. It's should be implicit, and if somebody needs it, it should be possible to enable it, but not be the default behaviour. Following the above documentation, I should define a ping service on that host, and then declare dependencies on services running on that host from the ping service!! No.. it doesn't make much sense.. I tend to believe it's a configuration error or omission on my side.. it just isn't logical. Best regards. Robi -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Terry Carmen wrote: > Quoting Assaf Flatto : > >>> Any hint/advice/guidance is very welcome. >>> >>> Thank you and best regards. >>> >>> Robi >>> >> check out service dependencies >> >> http://nagios.sourceforge.net/docs/3_0/dependencies.html >> > > I'm in the same boat. > > This should be very simple, but I'm probably just missing something. > The above docs show all sorts of complex dependencies, but I'm > actually looking for something simple. > > If a host can't be pinged, there is little point in attempting to > check disk space or anything else, so I'd like to disable all the > other checks when ping fails; however according to the link above, > this would require creating specific dependency definitions for each > host and all services, defining everything as a dependency of ping. > > Is there some sort of rule or wild-card that would tell Nagios that > all network based checks should be disabled if the host can't be pinged? Yes. That's exactly what I'm looking for. Robi > > Thanks! > > Terry -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Hi Mark. Frost, Mark {PBC} wrote: > Maybe I'm missing something but I thought that suppressing notifications for > services on the same host when the host goes down is the default behavior. > It's only when you have to suppress notifications from different hosts that > you need host/service dependencies. That's exactly what I was expecting, but it doesn't seem to work that way.. at least not for me. Yesterday for instance, a host went down because of a hd controller failure, and I received 22 sms.. Robi > > > Mark > > -Original Message- > From: Assaf Flatto [mailto:nag...@flatto.net] > Sent: Thursday, May 26, 2011 1:39 PM > To: Nagios Users List > Subject: Re: [Nagios-users] Services are dependent on the host they run on? > > Martin Hugo wrote: >> Hi Robi, >> >> I have never done it but I know you can make hosts/services children that >> will not report if the parent is down. >> >> Hope this puts you on the right track. >> >> Marty >> >> -Original Message- >> From: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] >> Sent: Thursday, May 26, 2011 12:47 PM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] Services are dependent on the host they run on? >> >> Hi all. >> >> Some time ago, I've installed and configured nagios to monitor our IT >> infrastructure. >> >> It works very well and we're happy with it. >> >> There's still one problem though: >> When a host goes down, nagios sends notifications not only for host >> down, but also for all services running on that host. When a host goes >> down, I would like nagios to only send notifications about the host >> down, and not for all the services running on that host. >> >> How can I achive that? >> May it be a configuration error from my side? I thought that to nagios, >> services would be dependent from the host running them.. >> >> Any hint/advice/guidance is very welcome. >> >> Thank you and best regards. >> >> Robi >> > check out service dependencies > > http://nagios.sourceforge.net/docs/3_0/dependencies.html -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Maybe I'm missing something but I thought that suppressing notifications for services on the same host when the host goes down is the default behavior. It's only when you have to suppress notifications from different hosts that you need host/service dependencies. Mark -Original Message- From: Assaf Flatto [mailto:nag...@flatto.net] Sent: Thursday, May 26, 2011 1:39 PM To: Nagios Users List Subject: Re: [Nagios-users] Services are dependent on the host they run on? Martin Hugo wrote: > Hi Robi, > > I have never done it but I know you can make hosts/services children that > will not report if the parent is down. > > Hope this puts you on the right track. > > Marty > > -Original Message- > From: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] > Sent: Thursday, May 26, 2011 12:47 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Services are dependent on the host they run on? > > Hi all. > > Some time ago, I've installed and configured nagios to monitor our IT > infrastructure. > > It works very well and we're happy with it. > > There's still one problem though: > When a host goes down, nagios sends notifications not only for host > down, but also for all services running on that host. When a host goes > down, I would like nagios to only send notifications about the host > down, and not for all the services running on that host. > > How can I achive that? > May it be a configuration error from my side? I thought that to nagios, > services would be dependent from the host running them.. > > Any hint/advice/guidance is very welcome. > > Thank you and best regards. > > Robi > check out service dependencies http://nagios.sourceforge.net/docs/3_0/dependencies.html -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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 -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Quoting Assaf Flatto : >> Any hint/advice/guidance is very welcome. >> >> Thank you and best regards. >> >> Robi >> > check out service dependencies > > http://nagios.sourceforge.net/docs/3_0/dependencies.html > I'm in the same boat. This should be very simple, but I'm probably just missing something. The above docs show all sorts of complex dependencies, but I'm actually looking for something simple. If a host can't be pinged, there is little point in attempting to check disk space or anything else, so I'd like to disable all the other checks when ping fails; however according to the link above, this would require creating specific dependency definitions for each host and all services, defining everything as a dependency of ping. Is there some sort of rule or wild-card that would tell Nagios that all network based checks should be disabled if the host can't be pinged? Thanks! Terry -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Martin Hugo wrote: > Hi Robi, > > I have never done it but I know you can make hosts/services children that > will not report if the parent is down. > > Hope this puts you on the right track. > > Marty > > -Original Message- > From: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] > Sent: Thursday, May 26, 2011 12:47 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Services are dependent on the host they run on? > > Hi all. > > Some time ago, I've installed and configured nagios to monitor our IT > infrastructure. > > It works very well and we're happy with it. > > There's still one problem though: > When a host goes down, nagios sends notifications not only for host > down, but also for all services running on that host. When a host goes > down, I would like nagios to only send notifications about the host > down, and not for all the services running on that host. > > How can I achive that? > May it be a configuration error from my side? I thought that to nagios, > services would be dependent from the host running them.. > > Any hint/advice/guidance is very welcome. > > Thank you and best regards. > > Robi > check out service dependencies http://nagios.sourceforge.net/docs/3_0/dependencies.html -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Services are dependent on the host they run on?
Hi Robi, I have never done it but I know you can make hosts/services children that will not report if the parent is down. Hope this puts you on the right track. Marty -Original Message- From: Roberto Nunnari [mailto:roberto.nunn...@supsi.ch] Sent: Thursday, May 26, 2011 12:47 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Services are dependent on the host they run on? Hi all. Some time ago, I've installed and configured nagios to monitor our IT infrastructure. It works very well and we're happy with it. There's still one problem though: When a host goes down, nagios sends notifications not only for host down, but also for all services running on that host. When a host goes down, I would like nagios to only send notifications about the host down, and not for all the services running on that host. How can I achive that? May it be a configuration error from my side? I thought that to nagios, services would be dependent from the host running them.. Any hint/advice/guidance is very welcome. Thank you and best regards. Robi -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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 -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Services are dependent on the host they run on?
Hi all. Some time ago, I've installed and configured nagios to monitor our IT infrastructure. It works very well and we're happy with it. There's still one problem though: When a host goes down, nagios sends notifications not only for host down, but also for all services running on that host. When a host goes down, I would like nagios to only send notifications about the host down, and not for all the services running on that host. How can I achive that? May it be a configuration error from my side? I thought that to nagios, services would be dependent from the host running them.. Any hint/advice/guidance is very welcome. Thank you and best regards. Robi -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Nagios-users mailing list Nagios-users@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