question about badTEST
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/>
Rob,
Can badTEST only be used with built-in network tests? I have the following two tags:
badldaps:1:1:100 badol:1:1:100If 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 david.baldwin at ausport.gov.au 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.
participants (2)
-
david.baldwin@ausport.gov.au
-
mailinglist0@skurfer.com