Trouble getting bandwidth-figures in 0.98pre

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
ahajysk
Posts: 11
Joined: Tue Aug 04, 2015 5:45 am

Trouble getting bandwidth-figures in 0.98pre

Post by ahajysk »

I almost figure that the respondent most likely will be Howie. So hey howie! :D

// A little info on a neat feature I made
I had a problem with performance because of my many big maps, so I downloaded 0.98 since it offered to run weathermap ONE map at a time (GREAT feature!). Now, I only run the poller when a user requests the map via a custom javascript. The end-result is the same to the user, but the performance is now many times greater. Perhaps this is what you want to implement with 0.98? So far I enjoy the concept and see no real problems.
//

HOWEVER, I now have problems with bandwith-measurements, probably because it is in beta.
I get the following errors for all bandwidth-measurements:


WEATHERMAP: Poller[0] WARNING: [Map 2] Arnhem.conf: ReadData: LINK 2104-ethernet4, target: /var/www/html/cacti/rra/2104/3906.rrd:traffic_in:traffic_out on config line 196 of /var/www/html/cacti/plugins/weathermap/configs/Arnhem.conf had no valid data, according to WeatherMapDataSource_rrd [WMWARN70]

WEATHERMAP: Poller[0] WARNING: [Map 2] Arnhem.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: [WMRRD06]


The data-sources exist, the measurements are running and I can even hover over the link to show a thumbnail. The config for this particular host is as follows:

Code: Select all

LINK 2104-ethernet4
	NODES 2104 ethernet4
	WIDTH 3.5
	INFOURL /cacti/graph.php?rra_id=all&local_graph_id=3906
	OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=3906&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
	TARGET /var/www/html/cacti/rra/2104/3906.rrd:traffic_in:traffic_out
What to figure? :)
Attachments
2015-08-13 08_37_26-Console -_ Weathermap - Arnhem – Google Chrome.png
2015-08-13 08_37_26-Console -_ Weathermap - Arnhem – Google Chrome.png (63.21 KiB) Viewed 1957 times
ahajysk
Posts: 11
Joined: Tue Aug 04, 2015 5:45 am

Re: Trouble getting bandwidth-figures in 0.98pre

Post by ahajysk »

I found a workaround that involved going back to 0.97b and doing another "hack" for refreshing maps on the go :)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Trouble getting bandwidth-figures in 0.98pre

Post by Howie »

It's very unusual for the graph id to match up with the data source id (the rrd filename). Are you sure those two match up like that?

(Not sure why it would not list DS names in the error message, but starting from the basics...)
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!)
ahajysk
Posts: 11
Joined: Tue Aug 04, 2015 5:45 am

Re: Trouble getting bandwidth-figures in 0.98pre

Post by ahajysk »

Thank you for your reply Howie - I greatly appreciate it!

They do match up in a large amount of cases, since I cleaned up the pairing a while ago - in vein though. This one is one of those cases.

Anyway, I don't want you to worry about this case anymore, since I found a workaround. So from now on it is just your own curiousity ^^
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests