Xymon Mailing List Archive search

question about badTEST

2 messages in this thread

list Rob McBroom · Tue, 20 Jul 2010 09:57:04 -0400 ·
Can badTEST only be used with built-in network tests? I have the following two tags:

    badldaps:1:1:100
    badol:1:1:100

If I shut down LDAP, “ldaps” goes yellow, but “ol” still goes red. Do I need to just modify the script that reports “ol” status to get it to go yellow?

A related question: Can you use ‘-1’ as the last number to say “unlimited”?

-- 
Rob McBroom
<http://www.skurfer.com/>;
list David Baldwin · Wed, 21 Jul 2010 10:00:27 +1000 ·
Rob,
quoted from Rob McBroom
Can badTEST only be used with built-in network tests? I have the following two tags:

    badldaps:1:1:100
    badol:1:1:100

If I shut down LDAP, “ldaps” goes yellow, but “ol” still goes red. Do I need to just modify the script that reports “ol” status to get it to go yellow?

A related question: Can you use ‘-1’ as the last number to say “unlimited”?
  
It can only be used with network tests. See man bb-hosts. Don't know
about -1, sorry.

I implemented equivalent functionality in a few of my own custom tests,
but eventually I realized that an alternative solution for me was to use
DURATION in hobbit-alerts.cfg to defer notification on non-critical
tests for a small number of test cycles (10-15 mins) on the basis that
if it recovers itself (e.g. false alert) I didn't want to know anyway.
Doesn't apply for event driven alerts (e.g. logs, traps, etc) but can
apply to anything that involves polling for current status (e.g. content
on a website, disk, svcs, etc). You still get to see teh red status in
the display and history.

David.

-- 
David Baldwin - IT Unit
Australian Sports Commission          www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
user-cbbf693f2c89@xymon.invalid          Leverrier Street Bruce ACT 2617


Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au

This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.