Xymon Mailing List Archive search

bbcombotest considers BLUE as down

list Frédéric Mangeant
Wed, 08 Nov 2006 09:13:07 +0100
Message-Id: <user-5b934b58e2a8@xymon.invalid>

Hi Henrik

bbcombotest considers that green, yellow and clear are the only colors showing a "up" status.

I needed to consider also blue as up, so I've modified bbdisplay/bbcombotest.cfg like that :

--- bbcombotest.c.old   2006-11-08 08:56:19.000000000 +0100
+++ bbcombotest.c       2006-11-08 08:56:48.000000000 +0100
@@ -202,7 +202,7 @@
        }

        if (*color == -1) return -1;
-       else return ( (*color == COL_GREEN) || (*color == COL_YELLOW) || (*color == COL_CLEAR) );
+       else return ( (*color == COL_GREEN) || (*color == COL_YELLOW) ||(*color == COL_BLUE) || (*color == COL_CLEAR) );
 }


Maybe this could be an option ?
Something like running bbcombotest with the "--okcolors=green,clear,blue" option ?

Regards,

-- 

Frédéric Mangeant

Steria GDU Sophia Antipolis