Xymon Mailing List Archive search

Depends and route

5 messages in this thread

list James Isolder · Thu, 21 Oct 2010 12:09:55 +0200 ·
Can someone tell me if these work or not.  It's a good idea but i would like to know I can use them.  
James
list Johan Sjöberg · Thu, 21 Oct 2010 12:30:46 +0200 ·
Route works fine. We use it in a number of cases where we do monitoring over VPN.
I have not used depends.

/Johan
quoted from James Isolder

From: user-7de8f896e813@xymon.invalid [mailto:user-7de8f896e813@xymon.invalid]
Sent: den 21 oktober 2010 12:10
To: xymon at xymon.com
Subject: [xymon] Depends and route

Can someone tell me if these work or not.  It's a good idea but i would like to know I can use them.

James
list Tony Larco · Thu, 21 Oct 2010 12:19:08 -0400 ·
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. 
quoted from Johan Sjöberg

On 10/21/2010 06:09 AM, user-7de8f896e813@xymon.invalid wrote:
Can someone tell me if these work or not.  It's a good idea but i
would like to know I can use them.  

James

list Cami · Fri, 22 Oct 2010 08:26:50 +0200 ·
quoted from Tony Larco
On 2010/10/21 06:19 PM, 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.
Does such an option/functionality exist?

Cami
list Buchan Milne · Fri, 22 Oct 2010 08:30:25 +0100 ·
quoted from Tony Larco
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