Host dependency error

Christoph Stoettner nospam at stoeps.de
Wed Jan 16 23:16:03 CET 2008


HI,

Have a look on this page:
http://nagios.sourceforge.net/docs/3_0/dependencies.html

You have to make a define hostdependency section for each
dependent_host_name like on the bottom of the link above!

Please look at the FAQ too, because of differences in parent/child and
dependency setups.
http://www.nagios.org/faqs/viewfaq.php?faq_id=145&expand=false&showdesc=false

Greets Christoph

On Jan 16, 2008 10:50 PM, Andrei-Florian Staicu <andrei.staicu at ipso.ro> wrote:
> Hello and excuse for being a bit thicker.
>
> Could you tell me why the following dependency:
> define hostdependency {
>         dependent_host_name
> GWMogo,GW2Mai,GWBane,GWAuBM,GWPlSH,GWPlSV
>         host_name                       quagga
>         notification_failure_criteria   d,u
>         execution_failure_criteria      d,u,p
>         }
> yelds:
> Checking for circular host and service dependencies...
> Error: A circular execution dependency (which could result in a
> deadlock) exists for host 'quagga'!
> Error: A circular execution dependency (which could result in a
> deadlock) exists for host 'quagga'!
> Error: A circular execution dependency (which could result in a
> deadlock) exists for host 'quagga'!
> Error: A circular execution dependency (which could result in a
> deadlock) exists for host 'quagga'!
> Error: A circular execution dependency (which could result in a
> deadlock) exists for host 'quagga'!
> ?
>
> It is the only dependency in my files.
> Isn't this the correct way to telling Nagios that all those GW's depend
> on quagga shouldn't be checked or notified until quagga is up?
>
> Thanks
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> 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
>



-- 
Mit freundlichen Grüßen / Best regards
Christoph Stöttner
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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