I have a problem to get weathermap to read data from cacti and make stats in weathermap.
I get this when i run weathermap:
WARNING: /XXXX/weathermap/configs/hjemme.conf: ProcessTargets: NODE PING, target: /var/lib/cacti/rra/ubnt_switch_ping_40.rrd':'ping':AVERAGE on config line 60 of /XXXX/weathermap/configs/hjemme.conf was not recognised as a valid TARGET [WMWARN08]
In the config file i have this:
NODE PING
LABEL Latency {node:this:bandwidth_in:%d} ms / Loss {node:this:bandwidth_out:%d}%
TARGET /var/lib/cacti/rra/ubnt_switch_ping_40.rrd':'ping':AVERAGE
USESCALE ping in percent
POSITION 755 53
how do i get cacti to deliver data to weathermap
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: how do i get cacti to deliver data to weathermap
It's telling you it's not a valid target because it's not a valid target.
Assuming that your rrd file has DS named ping and AVERAGE (seems a bit strange), the target should be:
(no apostrophes)
That will take the DS named 'ping' and use it for bandwidth_in, and the DS named 'AVERAGE' and use that for bandwidth_out.
That is close enough to a correct rrd target that even if the DS names are wrong, you will get a better error message in the logs. It'll tell you what the possible DS names are (because the rrd datasource plugin will recognise it as a valid target).
Assuming that your rrd file has DS named ping and AVERAGE (seems a bit strange), the target should be:
Code: Select all
TARGET /var/lib/cacti/rra/ubnt_switch_ping_40.rrd:ping:AVERAGE
That will take the DS named 'ping' and use it for bandwidth_in, and the DS named 'AVERAGE' and use that for bandwidth_out.
That is close enough to a correct rrd target that even if the DS names are wrong, you will get a better error message in the logs. It'll tell you what the possible DS names are (because the rrd datasource plugin will recognise it as a valid target).
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 0 guests