WEATHERMAP WARNING: NewColourFromPercent: Clipped [WMWARN33]

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
mrheavydee95
Posts: 28
Joined: Tue Mar 05, 2024 12:51 pm

WEATHERMAP WARNING: NewColourFromPercent: Clipped [WMWARN33]

Post by mrheavydee95 »

I'm receiving these messages for a weathermap config I copied over from my old Cacti/Weathermap server. I only have 1 node currently in my map. I wanted to get this resolved before adding more.

2024-05-07 10:56:37 - WEATHERMAP WARNING: [Map 7] ncsa.conf: NewColourFromPercent: Clipped 43537.12% to 100% for item ncsausak02-rt01 [WMWARN33]
2024-05-07 10:55:38 - WEATHERMAP WARNING: [Map 7] ncsa.conf: NewColourFromPercent: Clipped 44649.68% to 100% for item ncsausak02-rt01 [WMWARN33]
2024-05-07 10:54:38 - WEATHERMAP WARNING: [Map 7] ncsa.conf: NewColourFromPercent: Clipped 44053.68% to 100% for item ncsausak02-rt01 [WMWARN33]
2024-05-07 10:53:37 - WEATHERMAP WARNING: [Map 7] ncsa.conf: NewColourFromPercent: Clipped 47024.2% to 100% for item ncsausak02-rt01 [WMWARN33]
2024-05-07 10:52:36 - WEATHERMAP WARNING: [Map 7] ncsa.conf: NewColourFromPercent: Clipped 46775.96% to 100% for item ncsausak02-rt01 [WMWARN33]

Weathermap config:

#TEMPLATE-only NODEs:
NODE DEFAULT
LABEL {node:this:name}
LABELOFFSET N
LABELFONT 1
OVERLIBWIDTH 540
OVERLIBHEIGHT 160
LABELOUTLINECOLOR none
LABELBGCOLOR none
OVERLIBCAPTION <H1><CENTER>{node:this:name} Latency</CENTER></H1>
ICON 36 36 images/Router.png
USESCALE PING in absolute
MAXVALUE 0.25

NODE LATENCY_TEMPLATE
LABEL
OVERLIBWIDTH 640
OVERLIBHEIGHT 260
INFOURL /cacti/graph.php?rra_id=all&local_graph_id={node:this:GID}
OVERLIBGRAPH /cacti/graph_image.php?rra_id=5&graph_height=240&graph_width=640&local_graph_id={node:this:GID}
ICON 14 14 round
TARGET gauge:/var/www/html/cacti/rra/{node:this:name}_loss_{node:this:DSID}.rrd:avg:-
USEICONSCALE PING in

# TEMPLATE-only LINKs:
LINK DEFAULT
WIDTH 6
OVERLIBWIDTH 640
OVERLIBHEIGHT 260
BWFONT 3
BWOUTLINECOLOR none
BWBOXCOLOR none
INFOURL /cacti/graph.php?rra_id=all&local_graph_id={link:this:GID}
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id={link:this:GID}&rra_id=5&graph_height=240&graph_width=640
INBWFORMAT {link:this:max_bandwidth_in:%k}
OUTBWFORMAT {link:this:max_bandwidth_out:%k}
TARGET /var/www/html/cacti/rra/{link:this:DSRRD}
BANDWIDTH 100M

LINK HICAP_LINK
WIDTH 9
ARROWSTYLE compact
BWSTYLE angled
BWFONT 103
INBWFORMAT {link:this:max_bandwidth_in:%k}
OUTBWFORMAT {link:this:max_bandwidth_out:%k}
BWLABELPOS 75 35

# regular LINKs:
NODE NCS****12
ICON 36 36 images/MerakiMX.png
POSITION 150 30
NODE NCS****12-rt01
TEMPLATE LATENCY_TEMPLATE
POSITION 84 30
SET DSID 126
SET GID 138
LINK NCS****12-rt01-Cloud1
TARGET /var/www/html/cacti/rra/NCS****12-rt01_traffic_in_127.rrd
NODES NCS****12:0:0 Cloud1.1:0:-425
SET GID 139
BANDWIDTH 1000M
#####
mrheavydee95
Posts: 28
Joined: Tue Mar 05, 2024 12:51 pm

Re: WEATHERMAP WARNING: NewColourFromPercent: Clipped [WMWARN33]

Post by mrheavydee95 »

I found the workaround in the forum.
I added the below to the top of my map config file.

SET nowarn_clipping 1
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest