Service dependency for nrpe on nagios 3.2.3

Davide Blasi davide.blasi at infracom.it
Thu Oct 21 17:10:41 CEST 2010


Hi list,

I'm installing a large infrastructure using nagios 3.2.3.
My goal will be to create a service dependency of all services checked via nrpe (like check disk) dependent of nrpe on same host without having to define one service dependency for each host.

I found ( by google ) this fantastic link where there is a great patch but it is for nagios 3.0.6 and xdata/xodtemplate.c was changed and not "patch-able" : 
http://markmail.org/message/uuvfhlddnezotudy#query:+page:1+mid:v6jqqb4njbinj4ta+state:results

After reading http://nagios.sourceforge.net/docs/3_0/objecttricks.html#servicedependency :
   "If you want to create service dependencies for multiple services that are dependent on services on the same host, leave the dependent_host_name and 	dependent_hostgroup_name directives empty."

I tried to write this configuration  :

define servicedependency{
       hostgroup_name                  backoffice
       service_description             NRPE
       dependent_service_description   DISK
       execution_failure_criteria      w,u,c
       notification_failure_criteria   w,u,c
       }

but if one NRPE of any host in host group go down every disk of every host in host group will not be checked

Do you have any suggestion to help me ?

Thank you in advance 
Dave

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
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