Xymon Mailing List Archive search

Purples, all non-green view

6 messages in this thread

list David Gore · Fri, 12 May 2006 14:41:19 +0000 ·
There was some talk of the purples not showing up on the 'All non-green view'.  We are also disappointed that the purples have been removed from this page.  Our main page is the ANV page and would really like to have that back.  Could we at least have it back with a flag?  Or did we some how remove the purples on the ANV page with some flag in the latest snapshot?

-- 
David Gore
list Henrik Størner · Fri, 12 May 2006 17:05:27 +0200 ·
quoted from David Gore
On Fri, May 12, 2006 at 02:41:19PM +0000, David Gore wrote:
There was some talk of the purples not showing up on the 'All non-green view'.  We are also disappointed that the purples have been removed from this page.  Our main page is the ANV page and would really like to have that back.  Could we at least have it back with a flag?  Or did we some how remove the purples on the ANV page with some flag in the latest snapshot?
Seems I broke it somewhere. This should put the purples back on the bb2
page.


Henrik

-------------- next part --------------
--- bbdisplay/pagegen.c	2006/05/09 12:00:00	1.169
+++ bbdisplay/pagegen.c	2006/05/12 15:03:34
@@ -53,7 +53,7 @@
 int  nkonlyreds = 0;
 char *nkackname = "NK";
 int  wantrss = 0;
-int  bb2colors = ((1 << COL_RED) | (1 << COL_YELLOW));
+int  bb2colors = ((1 << COL_RED) | (1 << COL_YELLOW) | (1 << COL_PURPLE));
  /* Format strings for htaccess files */
 char *htaccess = NULL;
list Tom Kauffman · Fri, 12 May 2006 14:45:13 -0400 ·
Oh, my! It certainly does!

Tom Kauffman
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] Sent: Friday, May 12, 2006 11:05 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Purples, all non-green view

On Fri, May 12, 2006 at 02:41:19PM +0000, David Gore wrote:
There was some talk of the purples not showing up on the 'All
non-green 
view'.  We are also disappointed that the purples have been removed
from 
this page.  Our main page is the ANV page and would really like to
have 
that back.  Could we at least have it back with a flag?  Or did we
some 
how remove the purples on the ANV page with some flag in the latest snapshot?
Seems I broke it somewhere. This should put the purples back on the bb2
page.


Henrik

CONFIDENTIALITY NOTICE:  This email and any attachments are for the exclusive and confidential use of the intended recipient.  If you are not
the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive  attorney-client or work product privilege by the transmission of this
message.
list Mario Andre · Tue, 23 Jan 2007 14:04:22 -0300 ·
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.
list Mario Andre · Tue, 23 Jan 2007 14:43:58 -0300 ·
Hi,
I'm using hobbit 4.2.0

regards.
quoted from Mario Andre


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.

list Mario Andre · Tue, 23 Jan 2007 16:18:03 -0300 ·
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.
quoted from Mario Andre

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.