service dependencies

Patrick Morris patrick.morris at hp.com
Tue Apr 3 20:18:49 CEST 2007


On Tue, 03 Apr 2007, Rudy Setiawan wrote:

> If nagios check that if PING does not reply, then do not check the rest
> of the services (SSH,SMTP and WEB).
> 
> define servicedependency{
> 
>         host_name                       newton.domain.com
> 
>         service_description             SSH NEWTON
> 
>         dependent_host_name             newton.domain.com
> 
>         dependent_service_description   PING NEWTON
> 
>         execution_failure_criteria      w
> 
>         notification_failure_criteria   u
> 
> }

You've got them backwards.

-------------------------------------------------------------------------
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