Why not make service depend upon host?

leoh at dcc.ufmg.br leoh at dcc.ufmg.br
Mon Aug 16 16:57:34 CEST 2004


Hi Sirs,

I think that it's a good idea to let services checks depend on host checks.

In Nagios, hosts depends on hosts (just for notification failures) and
services checks depends on services checks (notifications and executions
failures).

If I want to tell nagios to check a service just if the host is up, I have
to define a PING service. Doing that I can depend on PING. But it's
redundant! Host checks should be enought to tell me that the host is up.

The solution is to make services checks to depend on host checks. Ex.:

#Check service B if Host B is UP
define hostservicedependency{
	host_name			Host B
	dependent_service_description	Service B
	execution_failure_criteria	w,u,c
	notification_failure_criteria	w,u,c
}


Will it be avaible in the next release? Is there any disavantage the I
have not spotted?

--
Leonardo Henrique Machado
Universidade Federal de Minas Gerais



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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