Strange value on bandwidth
Moderators: Developers, Moderators
Strange value on bandwidth
Hi all,
I have strange problem with Weathermap. I enable the rrd_use_poller_output option and then weathermap have this warning:
03/06/2009 09:21:14 PM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Scale DEFAULT doesn't cover -35494.654621103% for 4006-VB-R57 [WMWARN29]
03/06/2009 09:21:14 PM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Scale DEFAULT doesn't cover -6469.3136115641% for 4006-VB-R57 [WMWARN29]
The traffic of the interface that displayed on the map is defenitely wrong. But the traffic in the graph is seem to be correct.
Cacti Version 0.8.7c
Boost v2.1
Weathermap 0.95b
Please anyone help me on this problem
I have strange problem with Weathermap. I enable the rrd_use_poller_output option and then weathermap have this warning:
03/06/2009 09:21:14 PM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Scale DEFAULT doesn't cover -35494.654621103% for 4006-VB-R57 [WMWARN29]
03/06/2009 09:21:14 PM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Scale DEFAULT doesn't cover -6469.3136115641% for 4006-VB-R57 [WMWARN29]
The traffic of the interface that displayed on the map is defenitely wrong. But the traffic in the graph is seem to be correct.
Cacti Version 0.8.7c
Boost v2.1
Weathermap 0.95b
Please anyone help me on this problem
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
It seems like you are getting large negative values from the rrd file...
Could you post the config for one of these links?
Could you post the config for one of these links?
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!)
This is the config for that link:
LINK DEFAULT
WIDTH 2
BWLABEL bits
BANDWIDTH 1G
LINK 4006-VB-R57
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=1517 OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=1517&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/cacti/rra/XXX-sw4006_vb_adsl_traffic_in_1515.rrd NODES 4006-VB-ADSL R57
There're also some strange positive bandwidth value. I guess the strange value appears when the router is unreachable or rebooting.
03/07/2009 10:45:05 AM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Clipped 3750-VB02_copy-R34 366815.32303227% to 100%
03/07/2009 10:45:05 AM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Clipped 3750-VB02_copy-R34 64057.620133973% to 100%
03/07/2009 10:45:05 AM - SYSTEM STATS: Time:2.8875 Method:spine Processes:2 Threads:1 Hosts:110 HostsPerProcess:55 DataSources:479 RRDsProcessed:0
03/07/2009 10:45:03 AM - SPINE: Poller[0] Host[110] Hostname[10.10.103.210] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
03/07/2009 10:44:31 AM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Clipped 3750-VB02_copy-R34 366815.32303227% to 100%
LINK DEFAULT
WIDTH 2
BWLABEL bits
BANDWIDTH 1G
LINK 4006-VB-R57
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=1517 OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=1517&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/cacti/rra/XXX-sw4006_vb_adsl_traffic_in_1515.rrd NODES 4006-VB-ADSL R57
There're also some strange positive bandwidth value. I guess the strange value appears when the router is unreachable or rebooting.
03/07/2009 10:45:05 AM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Clipped 3750-VB02_copy-R34 366815.32303227% to 100%
03/07/2009 10:45:05 AM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Clipped 3750-VB02_copy-R34 64057.620133973% to 100%
03/07/2009 10:45:05 AM - SYSTEM STATS: Time:2.8875 Method:spine Processes:2 Threads:1 Hosts:110 HostsPerProcess:55 DataSources:479 RRDsProcessed:0
03/07/2009 10:45:03 AM - SPINE: Poller[0] Host[110] Hostname[10.10.103.210] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP
03/07/2009 10:44:31 AM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Clipped 3750-VB02_copy-R34 366815.32303227% to 100%
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I think there must be more to it than that - I assume you aren't getting a 640Gbit spike on your Cacti graphs? Weathermap reads the same data.mrvu wrote: There're also some strange positive bandwidth value. I guess the strange value appears when the router is unreachable or rebooting.
03/07/2009 10:45:05 AM - WEATHERMAP: Poller[0] [Map 9] HAN.ADSL.VB: ColourFromPercent: Clipped 3750-VB02_copy-R34 64057.620133973% to 100%
The next thing to try would be to run with DEBUG logging for one poller cycle, then look for the WEATHERMAP ReadData lines in the log - they should show you what data is being given by rrdtool, which should provide some clues, hopefully.
Alternatively, you could also try adding
SET rrd_use_poller_output 1
to the top of your map file, and waiting for 3 poller cycles. That will start Weathermap pulling data directly from the poller, instead of looking in the rrd files. That should avoid any rrd-related problems, but it does make it a little harder to check what you are doing when you're editing maps, because changes to targets take a few cycles to show up.
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!)
Off course I have this setting in the map config (I use Boost)
SET rrd_use_poller_output 1
Cacti graphs display current Inbound/Outbound = 0 when the big value appears on the map (which is correct because I know there are some problems with the router at that moment)
I will try to turn debug on when I see the problem again. But the log must be huge
SET rrd_use_poller_output 1
Cacti graphs display current Inbound/Outbound = 0 when the big value appears on the map (which is correct because I know there are some problems with the router at that moment)
I will try to turn debug on when I see the problem again. But the log must be huge
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Hmm, OK. This "problem"... is the router resetting it's counters?mrvu wrote:Off course I have this setting in the map config (I use Boost)
SET rrd_use_poller_output 1
Cacti graphs display current Inbound/Outbound = 0 when the big value appears on the map (which is correct because I know there are some problems with the router at that moment)
I will try to turn debug on when I see the problem again. But the log must be huge
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!)
I don't think the counter is reset because uptime of the router is unchaged (Uptime: 1662949672 (192 days, 11 hours, 18 minutes))
I had monitored the map for and notice the following behavior:
- First the bandwidth label go up very high in the map
- After few poller cycles, it display as zero
- Then it come back as normal
The graph have some NAN value at that time.
I had monitored the map for and notice the following behavior:
- First the bandwidth label go up very high in the map
- After few poller cycles, it display as zero
- Then it come back as normal
The graph have some NAN value at that time.
- Attachments
-
- Bandwidth label go very high at first
- Picture 1.png (147.49 KiB) Viewed 4937 times
-
- Then it display at zero
- Picture 3.png (146.06 KiB) Viewed 4937 times
-
- The graph
- Picture 2.png (161.66 KiB) Viewed 4937 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Looking at the code, it doesn't actually do anything to check for NaNscolejv wrote:I've noticed the same behavior when using poller output. I am graphing over a hundred interfaces on one switch and occasionally 5-10% fail to read and display large positive or negative numbers, without poller output 0's are displayed.
So it would take the 'N', convert that to 0, and use that as the current value. That would then look like a counter wrap-around, and give you huge values.
I'll try and organise a fix for this week - it's a busy week for Real Work though.
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!)
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Howie - just my 2cents worth.
I am also experiencing the same issue. Now running under Ubuntu (don't do Windows anymore for Cacti), and have noticed that this issue shows itself on both platforms.
I had an instance today where our MPLS router enjoyed 1078% outbound bandwidth, and the same inbound !
I am also experiencing the same issue. Now running under Ubuntu (don't do Windows anymore for Cacti), and have noticed that this issue shows itself on both platforms.
I had an instance today where our MPLS router enjoyed 1078% outbound bandwidth, and the same inbound !
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
If any of you are using 0.96test2 and get this problem regularly, could you please try dropping in the setup.php from subversion? ( this one )
I've added a check for 'U' values that sets the current value to 0, and otherwise ignores the update, so the first real update afterwards will be averaged over a longer time, but will be the right kind of value at least...
Still not sure what will happen when there's a reboot.
I've added a check for 'U' values that sets the current value to 0, and otherwise ignores the update, so the first real update afterwards will be averaged over a longer time, but will be the right kind of value at least...
Still not sure what will happen when there's a reboot.
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
No. I'm working to release 0.96 soon anyway - it's hard enough to find time to work on it as it is!mrvu wrote:Dear Howie,
Could you release a patch for 0.95b. I want to test but I don't have 0.96 installation here.
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 1 guest