Xymon Mailing List Archive search

The 'bad' syntax has been deprecated.....

2 messages in this thread

list Maik Heinelt · Thu, 16 Oct 2014 08:50:24 +0900 ·
After migrating our old hobbit server to latest version 4.3.18, another error message appeared.

Error output:
WARNING: The 'bad' syntax has been deprecated, please convert to 'delayred' and/or 'delayyellow' tags

What I noticed on other pages online, the warning usually includes a <TESTNAME> value, but not at our installation.
Seems to be very difficult to debug it. Maybe someone has a hint?


Thanks

Maik
list John Thurston · Wed, 15 Oct 2014 15:58:16 -0800 ·
quoted from Maik Heinelt
On 10/15/2014 3:50 PM, Maik Heinelt wrote:
After migrating our old hobbit server to latest version 4.3.18, another
error message appeared.

Error output:
WARNING: The 'bad' syntax has been deprecated, please convert to
'delayred' and/or 'delayyellow' tags

What I noticed on other pages online, the warning usually includes a
<TESTNAME> value, but not at our installation.
Seems to be very difficult to debug it. Maybe someone has a hint?
Look in your hosts.cfg (or whatever your file is) for lines with "bad"

In the man page for hosts.cfg, you will find the following:
badTEST[-weekdays-starttime-endtime]:x:y:z
    NOTE: This has been deprecated, use the delayred and delayyellow settings instead.

    Normally when a network test fails, the status changes to red immediately. With a "badTEST:x:y:z" tag this behaviour changes:
    * While "z" or more successive tests fail, the column goes RED.

-- 
    Do things because you should, not just because you can.

John Thurston    XXX-XXX-XXXX
user-ce4d79d99bab@xymon.invalid
Enterprise Technology Services
Department of Administration
State of Alaska