Xymon Mailing List Archive search

Purples, all non-green view

list Mario Andre
Tue, 23 Jan 2007 16:18:03 -0300
Message-Id: <user-0ca0da7c881e@xymon.invalid>

Henrik,

On the documentation we have

--bb2colors=COLOR[,COLOR]
              Defines  which  colors  cause  a test to appear on the "All
non-
              green" status page (a.k.a. the BB2 page). COLOR is  red,
yellow
              or purple.  The default is to include all three.
And in the bbgen.c

else if (argnmatch(argv[i], "--bb2-colors=")) {
                        char *lp = strchr(argv[i], '=') + 1;
                        bb2colors = colorset(lp, (1 << COL_GREEN));
                }

So, when I used --bb2-colors , works great.

Regards,

Mario.

On 1/23/07, mario andre <user-82c7780661a4@xymon.invalid> wrote:
Hi,
I'm using hobbit 4.2.0

regards.


 On 1/23/07, mario andre <user-82c7780661a4@xymon.invalid> wrote:
Hi friends,

I want to show in the bb2 page only the red and purple alerts. I tried
to use bbgen with --bb2colors=purple,red , but in the logs I have the
messages:

2007-01-23 14:56:04 Unknown option : --bb2colors=purple,red
2007-01-23 14:57:07 Unknown option : --bb2colors=purple,red
2007-01-23 14:58:08 Unknown option : -- bb2colors=purple,red

Any hint?

Thanks in advance,

Mario.