Service Dependencies

Hugo van der Kooij hvdkooij at vanderkooij.org
Sat Apr 1 19:45:25 CEST 2006


On Sat, 1 Apr 2006, Carl Davis wrote:

> I think I have service dependencies backwards in my head.  If I were
> utilizing a flow chart and b required service on a to be up, I would put
> a as the dependent_service_description and b as the host_name?  I have a
> long line of wireless links and if the first one fails I do not want to
> be notified that the others will fail as well.
>
> Is the status map built from service dependencies, because it appears
> correctly, however I get service notifications for everything when we
> have a link problem.

The status maps does not care about dependencies. It only uses the parent
field.

Assume router arwen and host bilbo. You can only reach bilbo through
arwen. (Or at least your Nagios checks.)

Then you would define:

define hostdependency {
	dependent_host_name	bilbo
	hostname		arwen
	.....

I admit it takes some reading and it is propably even more confusing for
those whose native language is not English.

I would have expected:

define hostdependency {
	hostname		bilbo
	depend_on_hostname	arwen
	....

I do recommend to rewrite this to be less ambigious in v3.

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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