Parent/child config
Scott Whitney
swhitney at journyx.com
Mon Jul 28 19:04:53 CEST 2003
It was my understanding that if a HOST was down, no services would be
checked.
I've got:
Nagios -> NAT Router -> Cisco Router -> Rack Router -> Host -> a slew of
services
What's the purpose of having parent/child relationships with hosts if the
service checks are not suspended if a host is down?
That is, I thought the flowthrough was:
Let us assume I'm checking a service on MyHost:
1) Check the NAT Router host. If he's up, continue.
2) Check Cisco Router host...
n) etc.
n+1) Check MyHost. Is he up? If so, check the service.
This, I thought, was all controlled from 2 places:
1) Definition of service on MyHost.cfg in services
2) Definition of host on MyHost.cfg in hosts.
The host entry has parents, and if any of those hosts are down, aren't
service checks suspended?
----- Original Message -----
From: "Hochberg, Keith" <Keith.Hochberg at mtvi.com>
To: "Scott Whitney" <swhitney at journyx.com>;
<nagios-users at lists.sourceforge.net>
Sent: Monday, July 28, 2003 11:59 AM
Subject: RE: [Nagios-users] Parent/child config
I think you're looking for dependencies and not parent/child...
http://nagios.sourceforge.net/docs/1_0/dependencies.html
-Keith
-----Original Message-----
From: Scott Whitney [mailto:swhitney at journyx.com]
Sent: Monday, July 28, 2003 12:38 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Parent/child config
Actually, Skip, I was just thinking about reposting, since, no, I did
not
get anything back.
Anyone?
Repost at bottom
----- Original Message -----
From: "Skip Montanaro" <skip at pobox.com>
To: "Scott Whitney" <swhitney at journyx.com>
Sent: Monday, July 28, 2003 11:29 AM
Subject: Re: [Nagios-users] Parent/child config
Scott,
Did you get any feedback on this problem? I'd like to set up something
similar, but based upon your report I'm skeptical it will be of any use.
Thx,
----- Original Message -----
From: "Scott Whitney" <swhitney at journyx.com>
To: <nagios-users at lists.sourceforge.net>
Sent: Tuesday, July 22, 2003 6:01 PM
Subject: Parent/child config
Today, my local Cisco router went down. Call it hw-router. :) Well, I
have
a bunch of machines defined as "coloc-host". Here's what the foo.cfg
file
says:
------------------
define host {
use coloc-host
host_name foo
alias foo
address vvv.xxx.yyy.zzz
}
-----------------
Here's what the hosts.cfg file says:
------------------
define host {
name coloc-host
notifications_enabled 1
event_handler_enabled 1
flap_detection_enabled 1
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
check_command check-host-alive
max_check_attempts 3
notification_interval 1
notification_period 24x7
notification_options d,u,r
parents sw-router, hw-router, coloc-router
register 0
}
--------------------------
Well, when hw-router went down, when it came back up, I got about a
dozen
pages telling me that each of the coloc hosts was down, and then back
up. I
thought it wasn't supposed to do this to me, based on the config above.
Any
help would be appreciated.
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01
/01
_______________________________________________
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
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
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