[Fwd: Re: Dependency help]

Matthew Jurgens nagiosusers at edcint.co.nz
Sat May 16 09:02:57 CEST 2009


Matt Nelson wrote:
>
> Any help is greatly appreciated,
>
Here's some dependencies that I've setup

Here's how the setup is

User --> Dansguardian --> Squid --> Internet
So, Dansguardian relies on Squid Proxy
Both are running on the same host, gw

The Nagios definitions I use for this dependency are:

define servicedependency   {
   name                             std_dependency
   execution_failure_criteria       w,c,p,u
   notification_failure_criteria    w,c,p,u
   inherits_parent                  1
   register                         0
   }
define servicedependency   {
   use                              std_dependency
   dependent_host_name              gw
   dependent_service_description    Dansguardian Process
   host_name                        gw
   service_description              Squid Process
   }

define servicedependency   {
   use                              std_dependency
   dependent_host_name              gw
   dependent_service_description    Dansguardian
   host_name                        gw
   service_description              Squid
   }

-- 
Smartmon System Monitoring <http://www.smartmon.com.au>
www.smartmon.com.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090516/446a5c2a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
-------------- next part --------------
_______________________________________________
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