On Jun 1, 2009, at 2:24 PM, Andrew Davis wrote: > Double-checking the docs I think I just realized this... > > If I understand this right, the "parents" option is used for Nagios > itself (prehaps better re-worded as "internally") to define the > network topology for the core host check. If the switch is down, it > won't mark a host as Down, only as Unreachable. > > For a "host dependency", I have to define something like this: > > define hostdependency{ > host_name Host A > dependent_host_name Host C > notification_failure_criteria d > }
> Am I understanding this right? Correct. > What gets me is that what Nagios seems to call a parent is, to me > anyway, a network/host dependency. Hosts are dependent on the > network and services are dependent on hosts. I guess I'm missing > where a "host dependency" would actually be of any value... Yes, they are very similar... hostdependencies give you more flexibility about when it's valid and under what conditions though. Like you, I'm hard-pressed to come up with an example of when it's actually interesting... I guess the best example I can think of based on my understanding is if you have your nagios server on a different LAN than two other servers. Server B is dependent on Server A for functioning. If ServerA and ServerB are unreachable from nagios, that may not be a big deal; they could still be providing services locally just fine. If ServerA is down though, that's a different matter. *shrug* I could be completely off base on that scenario ;) I don't use dependencies <G> -- Marc ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ 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