1 bugs, 1 feature: KEYBGCOLOR KEYZORDER

Support questions about the Network Weather Map plugin

Moderators: Moderators, Developers

Post Reply
Author
Message
skeffling
Posts: 13
Joined: Wed Mar 30, 2016 4:23 pm

1 bugs, 1 feature: KEYBGCOLOR KEYZORDER

#1 Post by skeffling » Wed Apr 27, 2016 6:13 am

Hi,

The weather map seems to ignore the KEYBGCOLOR and does not set a color. eg:

KEYBGCOLOR <keyname> 255 0 0
KEYBGCOLOR <keyname> none
KEYBGCOLOR 255 0 0

...All end up with a black background.

Also, it'll be nice to be able to specify the zorder of the key to help in layering.

User avatar
Howie
Cacti Guru User
Posts: 5336
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: 1 bugs, 1 feature: KEYBGCOLOR KEYZORDER

#2 Post by Howie » Wed Apr 27, 2016 7:22 am

http://network-weathermap.com/manual/0. ... BAL_COLORS

According to the manual, only the last one should work anyway - you can't currently specify colours per key. I agree it'd be good if it did, and also zorder (which is currently fixed at 1000, so you can push other things above it if you want easily enough).

The last format for KEYBGCOLOR definitely should work though - could you let me know a bit more detail about your platform? (Weathermap version, php and gd versions if it's a separate gd, OS version...) and a small config that fails with a picture of the output?
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)

skeffling
Posts: 13
Joined: Wed Mar 30, 2016 4:23 pm

Re: 1 bugs, 1 feature: KEYBGCOLOR KEYZORDER

#3 Post by skeffling » Thu Apr 28, 2016 3:00 am

Ah rats, I had defined KEYBGCOLOR twice!

This does indeed work:
KEYBGCOLOR 0 0 0

It'll be nice if I could specify none for transparent - currently setting none make the background white.

Thanks Howie!

User avatar
Howie
Cacti Guru User
Posts: 5336
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: 1 bugs, 1 feature: KEYBGCOLOR KEYZORDER

#4 Post by Howie » Thu Apr 28, 2016 5:56 am

'none' is already in the next release. Unfortunately I haven't had any time to work on it recently, and there's a lot of half-finished stuff in there at the moment.
Weathermap 0.98 is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)

skeffling
Posts: 13
Joined: Wed Mar 30, 2016 4:23 pm

Re: 1 bugs, 1 feature: KEYBGCOLOR KEYZORDER

#5 Post by skeffling » Wed May 04, 2016 7:30 am

Thanks, I'll look forward to it :-)

Post Reply