Piotr Smalira | 27 Mar 2012 14:02
Picon
Favicon

Theme color error (bug?)

Hello Jordi!

I have strange error (bug?).

On one of my servers I've set up WHITE theme color. Everything was great, but when I change theme color to BLACK, some of my graphs has been corrupted. I've only see this message:

ERROR: while graphing /usr/share/monitorix/imgs/system1.1day.png: invalid color name 'AXIS' ERROR: while graphing /usr/share/monitorix/imgs/system1z.1day.png: invalid color name 'AXIS'

 

-- Z poważaniem / Best Regards, Piotr Smalira Administrator systemów IT Gimnazjum nr 16 w Lublinie IT Administrator of Gimnasium no 16 in Lublin

-------------------------------- [ INFORMACJA ] -------------------------------- Ta wiadomość zawiera informacje poufne i jest przeznaczona wyłącznie dla wymienionej osoby. Jeśli nie jesteś wymienionym adresatem tej wiadomości, nie powinieneś jej rozpowszechniać, rozsyłać ani kopiować. Prosimy o natychmiastowe powiadomienie, za pośrednictwem poczty elektronicznej, nadawcy o pomyłkowym otrzymaniu tej wiadomości i usunięcie jej z komputera. Jeśli nie jesteś zamierzonym odbiorcą tej wiadomości, informujemy, że jej ujawnianie, kopiowanie, przesyłanie lub podejmowanie jakichkolwiek działań w związku z treścią tej wiadomości jest surowo wzbronione.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Monitorix-general mailing list
Monitorix-general@...
https://lists.sourceforge.net/lists/listinfo/monitorix-general
Jordi Sanfeliu | 27 Mar 2012 14:52

Re: Theme color error (bug?)

Hello Piotr,

Please, make sure you updated your /etc/monitorix.conf configuration 
file with exactly the following array:

# Black theme
our %BLACK = (
         "canvas"        => "#000000",
         "back"          => "#101010",
         "font"          => "#C0C0C0",
         "mgrid"         => "#80C080",
         "grid"          => "#808020",
         "frame"         => "#808080",
         "arrow"         => "#FFFFFF",
         "shadea"        => "#404040",
         "shadeb"        => "#404040",
         "axis"          => "#101010",
         "main_bg"       => "#000000",
         "main_fg"       => "#FFFFFF",
         "title_bg"      => "#333333",
         "title_fg"      => "#888800",
         "graph_bg"      => "#888888",
);

Take special attention to the "axis" color to make sure it was correctly 
entered, and let me know.

Best regards.

On 03/27/2012 02:02 PM, Piotr Smalira wrote:
> Hello Jordi!
>
> I have strange error (bug?).
>
> On one of my servers I've set up WHITE theme color. Everything was
> great, but when I change theme color to BLACK, some of my graphs has
> been corrupted. I've only see this message:
>
> ERROR: while graphing /usr/share/monitorix/imgs/system1.1day.png:
> invalid color name 'AXIS' ERROR: while graphing
> /usr/share/monitorix/imgs/system1z.1day.png: invalid color name 'AXIS'
>
> --
> Z poważaniem / Best Regards,
>
> Piotr Smalira
> Administrator systemów IT Gimnazjum nr 16 w Lublinie
> IT Administrator of Gimnasium no 16 in Lublin

--

-- 
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Monitorix-general mailing list
Monitorix-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general
Piotr Smalira | 27 Mar 2012 15:25
Picon
Favicon

Re: Theme color error (bug?)

Hello Jordi!

Thanks for fast answer.

My monitorix.conf is from 2.5.0 package.

And yes, I've checked. The Axis color setting is the same like in e-mail from you.

 

--- Z poważaniem / Best Regards, Piotr Smalira Administrator systemów IT Gimnazjum nr 16 w Lublinie IT Administrator of Gimnasium no 16 in Lublin

W dniu 27.03.2012 14:52, Jordi Sanfeliu napisał(a):

Hello Piotr, Please, make sure you updated your /etc/monitorix.conf configuration file with exactly the following array: # Black theme our %BLACK = ( "canvas" => "#000000", "back" => "#101010", "font" => "#C0C0C0", "mgrid" => "#80C080", "grid" => "#808020", "frame" => "#808080", "arrow" => "#FFFFFF", "shadea" => "#404040", "shadeb" => "#404040", "axis" => "#101010", "main_bg" => "#000000", "main_fg" => "#FFFFFF", "title_bg" => "#333333", "title_fg" => "#888800", "graph_bg" => "#888888", ); Take special attention to the "axis" color to make sure it was correctly entered, and let me know. Best regards. On 03/27/2012 02:02 PM, Piotr Smalira wrote:
Hello Jordi! I have strange error (bug?). On one of my servers I've set up WHITE theme color. Everything was great, but when I change theme color to BLACK, some of my graphs has been corrupted. I've only see this message: ERROR: while graphing /usr/share/monitorix/imgs/system1.1day.png: invalid color name 'AXIS' ERROR: while graphing /usr/share/monitorix/imgs/system1z.1day.png: invalid color name 'AXIS' -- Z poważaniem / Best Regards, Piotr Smalira Administrator systemów IT Gimnazjum nr 16 w Lublinie IT Administrator of Gimnasium no 16 in Lublin

-------------------------------- [ INFORMACJA ] -------------------------------- Ta wiadomość zawiera informacje poufne i jest przeznaczona wyłącznie dla wymienionej osoby. Jeśli nie jesteś wymienionym adresatem tej wiadomości, nie powinieneś jej rozpowszechniać, rozsyłać ani kopiować. Prosimy o natychmiastowe powiadomienie, za pośrednictwem poczty elektronicznej, nadawcy o pomyłkowym otrzymaniu tej wiadomości i usunięcie jej z komputera. Jeśli nie jesteś zamierzonym odbiorcą tej wiadomości, informujemy, że jej ujawnianie, kopiowanie, przesyłanie lub podejmowanie jakichkolwiek działań w związku z treścią tej wiadomości jest surowo wzbronione.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Monitorix-general mailing list
Monitorix-general@...
https://lists.sourceforge.net/lists/listinfo/monitorix-general
Jordi Sanfeliu | 27 Mar 2012 15:47

Re: Theme color error (bug?)

Piotr,

Hmm, it looks like your RRDtool installation doesn't support the "AXIS" 
color name.

Do you have an old version of RRDtool in that server?

Many thanks.

On 03/27/2012 03:25 PM, Piotr Smalira wrote:
> Hello Jordi!
>
> Thanks for fast answer.
>
> My monitorix.conf is from 2.5.0 package.
>
> And yes, I've checked. The Axis color setting is the same like in e-mail
> from you.
>
> ---
> Z poważaniem / Best Regards,
>

--

-- 
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Monitorix-general mailing list
Monitorix-general <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Gmane