Service dependence

Proskurin Kirill k.proskurin at fxclub.org
Mon Jun 16 10:51:22 CEST 2008


Sander Klein wrote:

> You should have a look at 
> http://nagios.sourceforge.net/docs/3_0/dependencies.html
> 

Im look on it and then im write my post.
Im ask some questions what is not highlighted on this doc... or im read 
it bad?...

Let me give a example on real config:


define host{
         use             unix-server
         host_name       host1
         alias           Alias
         address         1.1.1.1
         hostgroups      Filials
         }

define service{
         use 			generic-service
         host_name		host1
         service_description	PING
         check_command 		check_ping!200.0,20%!600.0,60%
         }

define service{
         use                     generic-service
         host_name               host1
         service_description     Check RBL
         check_command           check_rbl
         }

define servicedependency{
        host_name                       host1
        service_description             Check RBL
        dependent_host_name             host1
        dependent_service_description   PING
        execution_failure_criteria      w,u,c
        notification_failure_criteria   w,u,c
        }


As im understand IF service Check RBL on host1 will be critical - 
service PING will be critical too? But nofing happend.

-- 
Best regards,
Proskurin Kirill

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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