Background Label Color in Node with nink icon

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
Zeno
Posts: 3
Joined: Thu Feb 04, 2021 10:56 am

Background Label Color in Node with nink icon

Post by Zeno »

Hello, this is my first post!

As title say i have a problem with the background color of a label when i create a NODE with the nink icon option, basically it keep changing following the icon color according with scale colour, even if i move the label outside the icon with the LABELOFFSET option.
I just wanted to have the label background set to white.
I've already tried to use the LABELBGCOLOR command but it's not working in my case.
As workaround i create another NODE with a new LABEL and put it in place of the other one, and disabled the LABEL in the first node.
I have php Weathermap version 0.98A and Cacti 0.8.8.

What im doing wrong?

If it may help i can put here the code.

Thanks for help
Zeno
Posts: 3
Joined: Thu Feb 04, 2021 10:56 am

Re: Background Label Color in Node with nink icon

Post by Zeno »

Any idea?

i also wonder if it is possible to change the font size of the badwitdh inside the ying/yang icon?
greenpark
Posts: 11
Joined: Tue May 05, 2020 1:06 am

Re: Background Label Color in Node with nink icon

Post by greenpark »

Can you send the begin of file simple.conf. There are have some lines which need comment, and you will have white label background.
Zeno
Posts: 3
Joined: Thu Feb 04, 2021 10:56 am

Re: Background Label Color in Node with nink icon

Post by Zeno »

Code: Select all

#
# A minimal config file to get you started.
# - see also the docs/example folder.
# - and configs/simple.conf

BACKGROUND images/ap_test.png
WIDTH 2200
HEIGHT 900
TITLE Access Point C1

HTMLSTYLE overlib
WIDTH 800
HEIGHT 600

KEYPOS DEFAULT 400 100  Traffic Load

KEYTEXTCOLOR 0 0 0
KEYOUTLINECOLOR 0 0 0
KEYBGCOLOR 255 255 255
BGCOLOR 255 255 255
TITLECOLOR 0 0 0
TIMECOLOR 0 0 0
SCALE TEST 0    0    192 192 192
SCALE TEST 0    1    255 255 255
SCALE TEST 1    10   140   0 255
SCALE TEST 10   25    32  32 255
SCALE TEST 25   40     0 192 255
SCALE TEST 40   55     0 240   0
SCALE TEST 55   70   240 240   0
SCALE TEST 70   85   255 192   0
SCALE TEST 85   100  255   0   0


NODE DEFAULT 
       LABEL {node:this:name} 
       LABELOFFSET 0 65
       ICON 100 100 nink
       USESCALE TEST 
       MAXVALUE 54M

######  AP PT ########

##ED_C1_01 PT 115;300

NODE 1
        
	POSITION 115 300
        TARGET /var/lib/cacti/rra/exxxxxxxxx.rrd
        OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=512&rra_id=1

Im talking about the LABEL background colour of the nink icon!
greenpark
Posts: 11
Joined: Tue May 05, 2020 1:06 am

Re: Background Label Color in Node with nink icon

Post by greenpark »

what is a "nink" i cant find information about it. how it seems?
create another scale for nodes and set values for white label and use for this node?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests