I have successfully installed Cacti and Weathermap plug-in, on RedHat Enterprise 4 x86. All was working great, and had just finsihed adding the OVERLIBGRAPH and INFOURL. All was fine. It seems to process almost 1000 datasources in under 4 seconds, arrows in Weathermap were different colours etc...
After reading some forums, I realised that I needed to convert some of my data collected to 64 bit, as they were going to be upgraded to gig thruput, not the currect 34M E3 max. So I deleted the graphs on the device (24 port Cisco gig switch), and added a new set of 64-bit counter In/Out graphs.
These seem to be collected by Cacti/cactid just fine, and the graphs display just fine, and the vaues match the switch interface stats. In Weathermap, I edited the config because the rrd file number had changed from 4xx to 8xx file numbers as cacti does not seem to recylce identifiers for the new graphs, and it had created fresh rrd files. The hover graphs still work just fine and match the cacti graphs (after all they are being generated by cacti/graph_image). However, the utilisation values have disappeared off the weathermap arrows. All but two links now display 0 (zero) in both directions. Two links display values that are rubbish.
Should I be expecting normal values on the arrows with a 64-bit rrd file?
Typical Link:07/24/2006 04:45:05 PM - SYSTEM STATS: Time:3.5416 Method:cactid Processes:1 Threads:3 Hosts:24 HostsPerProcess:24 DataSources:993 RRDsProcessed:468
07/24/2006 04:45:05 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
07/24/2006 04:45:05 PM - WEATHERMAP: Poller[0] Normal logging mode. If things are going wrong, turn on DEBUG in Cacti for more information!
07/24/2006 04:45:05 PM - WEATHERMAP: Poller[0] Map: /var/www/cacti/plugins/weathermap/configs/Hobart-CBD.conf -> /var/www/cacti/plugins/weathermap/output/weathermap_3.html & /var/www/cacti/plugins/weathermap/output/weathermap_3.png
07/24/2006 04:45:06 PM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
07/24/2006 04:45:07 PM - WEATHERMAP: Poller[0] Wrote map to /var/www/cacti/plugins/weathermap/output/weathermap_3.png and /var/www/cacti/plugins/weathermap/output/weathermap_thumb_3.png
07/24/2006 04:45:07 PM - WEATHERMAP: Poller[0] Weathermap has left the building
A debug from weathermap when run by hand (same result as the one generated by poller)LINK sb-ap16-core-2-cm-lan
NODES cm-lan sb-ap16-core
BANDWIDTH 34M
WIDTH 8
TARGET ../../rra/conservatorium_wan_router_3750g_traffic_in_854.rrd
OVERLIBGRAPH http://cacti-host/cacti/graph_image.php ... 4&rra_id=1
INFOURL http://cacti-host/cacti/graph.php?rra_i ... aph_id=854
ReadData for Link sb-ap16-core-2-cm-lan:
New Target: ../../rra/conservatorium_wan_router_3750g_traffic_in_854.rrd (../../rra/conservatorium_wan_router_3750g_traffic_in_854.rrd)
ReadData: Updating link sb-ap16-core-2-cm-lan from RRD Target ../../rra/conservatorium_wan_router_3750g_traffic_in_854.rrd
ReadFromRRD: Target DS names are traffic_in and traffic_out
ReadFromRRD: Running: /usr/bin/rrdtool fetch ../../rra/conservatorium_wan_router_3750g_traffic_in_854.rrd AVERAGE --start now-800
> 1153723500: 0.0000000000e+00 0.0000000000e+00
> 1153723800: 0.0000000000e+00 0.0000000000e+00
> 1153724100: nan nan
> --
--1153724100: nan nan
ReadFromRRD: 1: This isn't a number: [nan]
ReadFromRRD: 2: This isn't a number: [nan]
--1153723800: 0.0000000000e+00 0.0000000000e+00
ReadFromRRD: Found a good line: 1153723800: 0.0000000000e+00 0.0000000000e+00
( traffic_in traffic_out
)
--1153723500: 0.0000000000e+00 0.0000000000e+00
ReadFromRRD: Our line is 1153723800: 0.0000000000e+00 0.0000000000e+00
ReadFromRRD: Returning (0,0)
ReadData: Setting 0,0
The same RRD file generates valid graphs in Cacti.
Has anyone seen this problem with 64-bit counters?
Cheers.