[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] Depends and route
- To: xymon (at) xymon.com
- Subject: Re: [xymon] Depends and route
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Fri, 22 Oct 2010 08:30:25 +0100
- Cc: Tony Larco <tlarco (at) polr.com>
- References: <BAY145-w388E92E47069E92B34CA0CCF5D0 (at) phx.gbl> <4CC067FC.7050702 (at) polr.com>
- User-agent: KMail/1.13.3 (Linux/2.6.33.7-desktop-2mnb; KDE/4.4.3; x86_64; ; )
On Thursday, 21 October 2010 17:19:08 Tony Larco wrote:
> I, and several others, have not been able to make DEPENDS work. I
> googled and searched the mailing list, and have found no one who has
> been able to make it work as far as I know. I would love to use the
> feature to reduce notifications when a firewall or ISP goes down.
I provided this example last week to another similar statement:
> This works for me:
> a.b.c.d dnscache1.xxxx # dns=a:www.google.com testip
> depends=(dns:UPSTREAMLINK/conn)
>
> (where UPSTREAMLINK is the name of a bb-hosts entry that has a conn check
> for our next hop(s)).
>
> If UPSTERAMLINK.conn is red, and the dns test fails, it goed clear instead
> of red (well, it can be red for a brief period, so one should alert on red
> with DURATION greater than the time your bbtest-net cycle actually takes -
> in my case the time taken when DNS is unavailable)
>
> If you have a case where it is not working according to the documentation,
> please discuss and file a bug if necessary.
>
> Note though that depends only works for tests run by bbtest-net, AFAIK you
> can't have a network check depending on a ports (client data) check, or
> have one host checked by one bbtest-net instance depend on a network test
> checked by another bbtest-net instance. This is covered in the bb-hosts(5)
> coverage for the 'depends' tag.
So, it if isn't working for you, please provide your configuration, and/or
file a bug.
Regards,
Buchan