Re: [Nagios-users] Parents on ubuntu
There is a much newer version of Nagios available, plus the version you've reported appears to a CVS export, not a stable release. Try downloading and compiling 2.6 from www.nagios.org and try again - note you will possibly need to adjust your configs to suit Nagios 2.x, but not by much. Note you are also including "u" in your notification_options for the host - this means that if the host is unreachable (ie. parent hosts are down) you will still get a notification. I'd set "notification_options d,r" in your generic-host template and remove the override per host. Regards Andy mario wrote: > Hello List, > > i have my nagios box in an internal network and i monitor "out to the > world". Sometimes our internet connections is down for some minutes, and > i get like 40 Mails with alerts. > > Thats when the parent dependecy gets intresting. I read the docs to > understand the differences. I am quite sure i want to use the > child/parent structure in my case. > > Nagio-Box --> Router/Firewall --> A-FEW-Hosts > > I am running Ubuntu breezy with nagios 1.3-cvs.20050402-4ubuntu3.2. > > define host{ >use generic-host ; Name of host > template to use >host_nameservice.server.de >address service.server.de >check_commandcheck-host-alive >max_check_attempts 20 >notification_interval5 >notification_period 24x7 >notification_options d,u,r >parents provider-gateway > } > > > The exspected parent feature does not work though. If my internet > connection fails, i still get a error msg for each host, instead from > the parent "provider-gateway". > What am i doning wrong? > > Thanks, Mario > > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ___ > 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 > > !DSPAM:37,45a37de4137102559373519! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ 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] Parents on ubuntu
mario wrote: > Hello List, > > i have my nagios box in an internal network and i monitor "out to the > world". Sometimes our internet connections is down for some minutes, and > i get like 40 Mails with alerts. > > Thats when the parent dependecy gets intresting. I read the docs to > understand the differences. I am quite sure i want to use the > child/parent structure in my case. > > Nagio-Box --> Router/Firewall --> A-FEW-Hosts > > I am running Ubuntu breezy with nagios 1.3-cvs.20050402-4ubuntu3.2. > > define host{ >use generic-host ; Name of host > template to use >host_nameservice.server.de >address service.server.de >check_commandcheck-host-alive >max_check_attempts 20 >notification_interval5 >notification_period 24x7 >notification_options d,u,r >parents provider-gateway > } > > > The exspected parent feature does not work though. If my internet > connection fails, i still get a error msg for each host, instead from > the parent "provider-gateway". > What am i doning wrong? > You've added "u" to the notification_options, explicitly telling Nagios that you want it to notify you for hosts that are down even if its parent is down as well. Hardly any users at all *really* wants "u" in their notification_options. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ 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] Parents on ubuntu
Hello List, i have my nagios box in an internal network and i monitor "out to the world". Sometimes our internet connections is down for some minutes, and i get like 40 Mails with alerts. Thats when the parent dependecy gets intresting. I read the docs to understand the differences. I am quite sure i want to use the child/parent structure in my case. Nagio-Box --> Router/Firewall --> A-FEW-Hosts I am running Ubuntu breezy with nagios 1.3-cvs.20050402-4ubuntu3.2. define host{ use generic-host ; Name of host template to use host_nameservice.server.de address service.server.de check_commandcheck-host-alive max_check_attempts 20 notification_interval5 notification_period 24x7 notification_options d,u,r parents provider-gateway } The exspected parent feature does not work though. If my internet connection fails, i still get a error msg for each host, instead from the parent "provider-gateway". What am i doning wrong? Thanks, Mario - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ 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