Xymon Mailing List Archive search

Specify DNS timeout ?

list Jeremy Laidman
Tue, 11 Oct 2011 17:24:31 +1100
Message-Id: <CAAnki7A2yKbM9+JHxUsxp2XTdPDfFeVGKaYW6ewYs1Z83NA1=user-ab7b310262d0@xymon.invalid>

On Fri, Oct 7, 2011 at 12:02 PM,  <user-7cb0f5662626@xymon.invalid> wrote:
Can I increase the timeout for a DNS test for just one particular server ?

We currently monitor 3 in-house and a 4th sits off-campus which timeouts sometimes...which I'm too worried about...
Short of scripting up a special test, I doubt it.

However, you can de-sensitise the DNS alarms on a per-host basis by
using the "badTEST" construct.  For example this is what I have on
some of my hosts that have occasional problems:

  10.1.12.10   ssm001.bogus.example.com        # baddns:1:2:3
dns=SOA:bogus.example.com

The "baddns:1:2:3" means it goes clear after 1 failure, yellow after 2
failures and red only after 3 successive failures.

Cheers
Jeremy