Yes, I've got u in notification_options for theses hosts. But I believed that was for Unknown? Maybe in that case Unknow is like Unreachable (this is logic in fact).
I'll try this, thanks a lot, Jean -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Marc Powell Envoyé : mercredi 26 septembre 2007 16:42 À : [email protected] Objet : Re: [Nagios-users] Dependancies between host and services > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Gabes Jean > Sent: Wednesday, September 26, 2007 8:29 AM > To: [email protected] > Subject: [Nagios-users] Dependancies between host and services > > Hi, > > > > I'm running Nagios 2.5. I've got a lot of distant servers and the network > is not very... reliable :) > > So in a distant place, all servers are child from a router, so if I lost > the router, I don't have 50 alerts, just one host alert. It's done by > parent/child relationship. Good. > The only problem is that the dependency is done in a host level. So, when > I lost network, I receive one Host notification, but 50x5 notifications > for service timeout. I want to make a relationship between services of a > host, and it's status: This shouldn't be happening unless you've configured something specifically to cause it. Nagios understands that if a host is down or unreachable, so are it's services and it will normally suppress notifications for the services. Do you have 'u' specified as a notification_option in your service definition? Do you have host checks for the hosts behind this router that correctly determine the host's state? > If the host is unreachable, don't check the services of this host. Nagios will continue to check the services on the host but is smart enough not to notify you about them if the host is down or unreachable (unless you override that behavior). This is documented at http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service If you need further help, please post a service definition and its associated template, the host definition and template and the parent host definition and template. It's OK to obfuscate IP's and hostnames. -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list [email protected] 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
