[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xymon] RE: xymon test dependencies
- To: xymon (at) xymon.com
- Subject: Re: [xymon] RE: xymon test dependencies
- From: Buchan Milne <bgmilne (at) staff.telkomsa.net>
- Date: Thu, 14 Oct 2010 10:09:19 +0100
- Cc: Patrick Nixon <pnixon (at) gmail.com>
- References: <i8p1du$uh$1 (at) voodoo.hswn.dk> <98B0CDCB28A5EE4CB3678CD99406644E0431385B (at) tbmail2.tradebot.com> <AANLkTimQsonoXn7rENB=xX1T4TKt0=6AgbBT3oARK6dM (at) mail.gmail.com>
- User-agent: KMail/1.13.3 (Linux/2.6.33.7-desktop-2mnb; KDE/4.4.3; x86_64; ; )
On Wednesday, 13 October 2010 19:06:08 Patrick Nixon wrote:
> Last I checked, the depends wasn't working properly and I haven't seen a
> release.
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.
Regards,
Buchan