Parents on ubuntu

Andreas Ericsson ae at op5.se
Tue Jan 9 13:38:49 CET 2007


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_name                        service.server.de
>    address                          service.server.de
>    check_command                    check-host-alive
>    max_check_attempts               20
>    notification_interval            5
>    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                   andreas.ericsson at op5.se
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 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