I installed the latest version from SVN (revision 617).
Maps are drawn, but there is no color-coded arrows. Cacti are written to the log errors on each link of the configuration files, for example, one of the entries:
In debug shows that one of the parameters passed to rrdtool not follows the syntax:WEATHERMAP: Poller[0] WARNING: [Map 44] COD.conf: ReadData: LINK ACSW24, target: /var/lib/cacti/rra/88/3699.rrd on config line 1323 of /usr/share/cacti/site/plugins/weathermap/configs/COD.conf had no valid data, according to WeatherMapDataSource_rrd [WMWARN70]
WEATHERMAP: Poller[0] WARNING: [Map 44] COD.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]
/usr/bin/rrdtool fetch /var/lib/cacti/rra/88/3699.rrd 0 --start now-800 --end now
But all files *.rrd contains the parameter "AVERAGE".
In order that all displays correctly I modified lines in the file /weathermap/lib/datasources/WeatherMapDataSource_rrd.php:
comment out the lines
Code: Select all
$cfname = intval($map->get_hint('rrd_cf'));
if($cfname===null) $cfname='AVERAGE';
Code: Select all
$cfname='AVERAGE';
I am sorry for my bad english - I use a google translate.