bbcombotest considers BLUE as down

Frédéric Mangeant frederic.mangeant at steria.com
Wed Nov 8 09:13:07 CET 2006


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







More information about the Xymon mailing list