[Xymon] The 'bad' syntax has been deprecated.....

John Thurston john.thurston at alaska.gov
Thu Oct 16 01:58:16 CEST 2014


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    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska



More information about the Xymon mailing list