[hobbit] Purples, all non-green view

mario andre rower.master at gmail.com
Tue Jan 23 20:18:03 CET 2007


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 <rower.master at gmail.com> wrote:
>
> Hi,
> I'm using hobbit 4.2.0
>
> regards.
>
>
>  On 1/23/07, mario andre <rower.master at gmail.com> 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.
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20070123/85605133/attachment.html>


More information about the Xymon mailing list