Xymon Mailing List Archive search

Wrong background color

4 messages in this thread

list Frédéric Mangeant · Thu, 17 Nov 2005 09:49:15 +0100 ·
Hi Henrik

the BB client went down on 2 of my hosts (they became purple in Hobbit), 
but the page background is still yellow, instead of being purple.

I'm running bbgen with the following options :

CMD bbgen $BBGENOPTS --report --nopropred=AHD --subpagecolumns=2 
--pages-last --pagetext-headings --recentgifs=60 
--purplelog=/tmp/purple.log --noproppurple=NetBackup

Removing all these options does not work.

System is Gentoo Linux x86, running Hobbit 4.1.2p1 + the 2 patches.
I've uploaded a screenshot here : 
http://img497.imageshack.us/img497/6113/hobbitbadbackgroundcolor5pt.png

Thanks in advance for your help.

Regards,

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Henrik Størner · Thu, 17 Nov 2005 12:44:42 +0100 ·
quoted from Frédéric Mangeant
On Thu, Nov 17, 2005 at 09:49:15AM +0100, Frédéric Mangeant wrote:
the BB client went down on 2 of my hosts (they became purple in Hobbit), but the page background is still yellow, instead of being purple.
[snip]
System is Gentoo Linux x86, running Hobbit 4.1.2p1 + the 2 patches.
I've uploaded a screenshot here : http://img497.imageshack.us/img497/6113/hobbitbadbackgroundcolor5pt.png
That is because your "fmangeant" host has yellow disk- and mem-statuses. Yellow is considered more serious than purple, and the background color
is decided by the most severe status on the page.


Henrik
list Frédéric Mangeant · Thu, 17 Nov 2005 14:35:59 +0100 ·
quoted from Henrik Størner
Henrik Stoerner a écrit :
On Thu, Nov 17, 2005 at 09:49:15AM +0100, Frédéric Mangeant wrote:
  
the BB client went down on 2 of my hosts (they became purple in Hobbit), but the page background is still yellow, instead of being purple.
    
That is because your "fmangeant" host has yellow disk- and mem-statuses. Yellow is considered more serious than purple, and the background color
is decided by the most severe status on the page.
  
OK, I thought the order was green,blue < yellow < purple < red.

Can this order be changed ?

-- 

Frédéric Mangeant

Steria EDC Sophia-Antipolis
list Henrik Størner · Thu, 17 Nov 2005 15:00:50 +0100 ·
quoted from Frédéric Mangeant
On Thu, Nov 17, 2005 at 02:35:59PM +0100, Frédéric Mangeant wrote:
Henrik Stoerner a écrit :
On Thu, Nov 17, 2005 at 09:49:15AM +0100, Frédéric Mangeant wrote:
the BB client went down on 2 of my hosts (they became purple in Hobbit), >>but the page background is still yellow, instead of being purple.
That is because your "fmangeant" host has yellow disk- and mem-statuses. >Yellow is considered more serious than purple, and the background color
is decided by the most severe status on the page.
 
OK, I thought the order was green,blue < yellow < purple < red.
It is actually green-clear-blue-purple-yellow-red.
Can this order be changed ?
I would recommend against it - I am not sure if there are any
parts of the Hobbit code that assumes that purple<yellow.

If you insist, it is defined in the hobbit-4.1.2p1/lib/color.h file - you must run a "make clean; make; make install" if you do change it.


Henrik