New error after upgrading to version 0.98
Moderators: Developers, Moderators
New error after upgrading to version 0.98
Since I upgrade to the latest version i get some error like that:
RECOLTEV2.conf: NewColourFromPercent: Scale LINKS doesn't include a line for 18915472.908 while drawing item Boucle35 [WMWARN29]
I think it come on this Node:
NODE Boucle35
LABEL B35
INFOURL https://nedi.lausanne.ch/cacti/plugins/ ... 4803b2359b
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=283
ICON 60 60 nink
TARGET /usr/share/cacti/rra/sre-b35-135_traffic_in_265.rrd
USESCALE LINKS in percent
USEICONSCALE LINKS in
POSITION 1070 450
MAXVALUE 40G
and the SCALE:
SCALE LINKS 0 1 255 240 245
SCALE LINKS 1 10 173 255 47
SCALE LINKS 10 25 0 240 0
SCALE LINKS 25 40 255 255 0
SCALE LINKS 40 55 255 127 80
SCALE LINKS 55 70 255 140 0
SCALE LINKS 70 85 128 0 128
SCALE LINKS 85 100 255 0 0
how can I solve the problem ?
RECOLTEV2.conf: NewColourFromPercent: Scale LINKS doesn't include a line for 18915472.908 while drawing item Boucle35 [WMWARN29]
I think it come on this Node:
NODE Boucle35
LABEL B35
INFOURL https://nedi.lausanne.ch/cacti/plugins/ ... 4803b2359b
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=283
ICON 60 60 nink
TARGET /usr/share/cacti/rra/sre-b35-135_traffic_in_265.rrd
USESCALE LINKS in percent
USEICONSCALE LINKS in
POSITION 1070 450
MAXVALUE 40G
and the SCALE:
SCALE LINKS 0 1 255 240 245
SCALE LINKS 1 10 173 255 47
SCALE LINKS 10 25 0 240 0
SCALE LINKS 25 40 255 255 0
SCALE LINKS 40 55 255 127 80
SCALE LINKS 55 70 255 140 0
SCALE LINKS 70 85 128 0 128
SCALE LINKS 85 100 255 0 0
how can I solve the problem ?
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: New error after upgrading to version 0.98
It's looklike it's not taking the percentage of the link, but the value displayed is the real value, not a percentage of MAXVALUE
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: New error after upgrading to version 0.98
First: What happens if you change MAXVALUE to 40000M?
Second: let map run with DEBUG logging turned on for one poller cycle. You will get LOADS of log information in cacti.log. If you search for your node name, you should find the values (on a line labelled ReadData) that weathermap fetched for that node, and also what it thinks the percentages are, a few lines below that.
Second: let map run with DEBUG logging turned on for one poller cycle. You will get LOADS of log information in cacti.log. If you search for your node name, you should find the values (on a line labelled ReadData) that weathermap fetched for that node, and also what it thinks the percentages are, a few lines below that.
Weathermap 0.98a 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!)
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!)
Re: New error after upgrading to version 0.98
So the icon change it's color regarding the percentage used, but still the error is present in the log, and setting MAXVALUE to 40000M dosen't change the problem.
Ok so here is the debug:
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(/cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=215, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(Boucle30, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3322] [Map 2] ast.conf: Drawing NODE Boucle30
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:626] [Map 2] ast.conf: ProcessString: Found appropriate item: WeatherMapNode Boucle30
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString({node:this:bandwidth_out:%.1k}, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:626] [Map 2] ast.conf: ProcessString: Found appropriate item: WeatherMapNode Boucle30
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString({node:this:bandwidth_in:%.1k}, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] WARNING: [Map 2] ast.conf: NewColourFromPercent: Scale LINKS doesn't include a line for 195477946.376 while drawing item Boucle30 [WMWARN29]
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [pre_render@WeatherMapNode.class.php:284] [Map 2] ast.conf: Artificial Icon type nink for Boucle30
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [pre_render@WeatherMapNode.class.php:249] [Map 2] ast.conf: Node->pre_render: Boucle30 Label Metrics are: 21 x 13 -> 25 x 17
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(B30, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1277] [Map 2] ast.conf: NCFPC Boucle30 LINKS 0.48869486594 '' 0_1 255 240 245
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3262] [Map 2] ast.conf: Pre-rendering Boucle30 to get bounding boxes.
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note outscalecolor='#fff0f5' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note inscalecolor='#fff0f5' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note outscaletag='' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note inscaletag='' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note outscalekey='0_1' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note inscalekey='0_1' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1277] [Map 2] ast.conf: NCFPC Boucle30 LINKS 0.181656690726 '' 0_1 255 240 245
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1277] [Map 2] ast.conf: NCFPC Boucle30 LINKS 0.48869486594 '' 0_1 255 240 245
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:985] [Map 2] ast.conf: ReadData complete for NODE Boucle30: 195477946.376 72662676.2904
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(/usr/share/cacti/rra/sre-b30-130_traffic_in_197.rrd, node:Boucle30)
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:913] [Map 2] ast.conf: ReadData for NODE Boucle30:
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(/usr/share/cacti/rra/sre-b30-130_traffic_in_197.rrd, node:Boucle30)
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2759] [Map 2] ast.conf: Setting bandwidth on NODE Boucle30 (40000M -> 40000000000 bps, 40000M -> 40000000000 bps, KILO = 1000)
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig_Commit@Weathermap.class.php:2862] [Map 2] ast.conf: Saving Node: Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [CopyFrom@WeatherMapNode.class.php:761] [Map 2] ast.conf: Initialising NODE Boucle30 from DEFAULT
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapNode.class.php:737] [Map 2] ast.conf: Resetting Boucle30 with DEFAULT
Ok so here is the debug:
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(/cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=215, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(Boucle30, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3322] [Map 2] ast.conf: Drawing NODE Boucle30
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:626] [Map 2] ast.conf: ProcessString: Found appropriate item: WeatherMapNode Boucle30
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString({node:this:bandwidth_out:%.1k}, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:626] [Map 2] ast.conf: ProcessString: Found appropriate item: WeatherMapNode Boucle30
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString({node:this:bandwidth_in:%.1k}, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] WARNING: [Map 2] ast.conf: NewColourFromPercent: Scale LINKS doesn't include a line for 195477946.376 while drawing item Boucle30 [WMWARN29]
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [pre_render@WeatherMapNode.class.php:284] [Map 2] ast.conf: Artificial Icon type nink for Boucle30
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [pre_render@WeatherMapNode.class.php:249] [Map 2] ast.conf: Node->pre_render: Boucle30 Label Metrics are: 21 x 13 -> 25 x 17
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(B30, node:Boucle30)
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1277] [Map 2] ast.conf: NCFPC Boucle30 LINKS 0.48869486594 '' 0_1 255 240 245
08/11/2016 08:26:22 AM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:3262] [Map 2] ast.conf: Pre-rendering Boucle30 to get bounding boxes.
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note outscalecolor='#fff0f5' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note inscalecolor='#fff0f5' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note outscaletag='' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note inscaletag='' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note outscalekey='0_1' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:119] [Map 2] ast.conf: Adding note inscalekey='0_1' to Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1277] [Map 2] ast.conf: NCFPC Boucle30 LINKS 0.181656690726 '' 0_1 255 240 245
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1277] [Map 2] ast.conf: NCFPC Boucle30 LINKS 0.48869486594 '' 0_1 255 240 245
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:985] [Map 2] ast.conf: ReadData complete for NODE Boucle30: 195477946.376 72662676.2904
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(/usr/share/cacti/rra/sre-b30-130_traffic_in_197.rrd, node:Boucle30)
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:913] [Map 2] ast.conf: ReadData for NODE Boucle30:
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ProcessString@Weathermap.class.php:538] [Map 2] ast.conf: Trace: ProcessString(/usr/share/cacti/rra/sre-b30-130_traffic_in_197.rrd, node:Boucle30)
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2759] [Map 2] ast.conf: Setting bandwidth on NODE Boucle30 (40000M -> 40000000000 bps, 40000M -> 40000000000 bps, KILO = 1000)
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig_Commit@Weathermap.class.php:2862] [Map 2] ast.conf: Saving Node: Boucle30
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [CopyFrom@WeatherMapNode.class.php:761] [Map 2] ast.conf: Initialising NODE Boucle30 from DEFAULT
08/11/2016 08:26:21 AM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapNode.class.php:737] [Map 2] ast.conf: Resetting Boucle30 with DEFAULT
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: New error after upgrading to version 0.98
Which version did you upgrade from? (where this was working)
I'm looking back through 0.97x versions and I can't find one with USESCALE for nodes, which is weird!
I'm looking back through 0.97x versions and I can't find one with USESCALE for nodes, which is weird!
Weathermap 0.98a 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!)
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!)
Re: New error after upgrading to version 0.98
it was working on 0.97b
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Re: New error after upgrading to version 0.98
The problem is not coming on USESCALE, but on USEICONSCALE
I can say that because if I comment out USEICONESCALE I don't have the problem anymore.
I can say that because if I comment out USEICONESCALE I don't have the problem anymore.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: New error after upgrading to version 0.98
with icon of nink, you shouldn't need USEICONSCALE anyway...
Weathermap 0.98a 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!)
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!)
Re: New error after upgrading to version 0.98
ok thanks, was not that clear on the doc, and since it didn't give any error on 0.97, I didn't knew it.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: New error after upgrading to version 0.98
No error - it's not bad syntax. It just doesn't do anything It is intended for colouring image-file icons.
Weathermap 0.98a 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!)
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!)
Who is online
Users browsing this forum: No registered users and 4 guests