Parents on ubuntu
Andy Shellam (Mailing Lists)
andy.shellam-lists at mailnetwork.co.uk
Tue Jan 9 13:41:48 CET 2007
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_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?
>
> 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 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
>
> !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 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