I have a simple weathermap for my network, which at present only contains 2 servers and a switch. The info for the 2 servers is working fine (traffic in and out). I am trying to add information for my internet connection, which is shared via IPCop. The IPCop machine does not have SNMP, and it would seem it is impossible to add this feature.
It does, however, monitor itself - publishing RRD files ready for it to make graphs locally. I have copied an RRD file, which should contain data about the traffic on my internet connection, and told weathermap to use this as the TARGET for the link representing the internet.
However, I receive this error:
Code: Select all
04/07/2008 03:44:07 PM - WEATHERMAP: Poller[0] [Map 1] simple.conf: ReadData: LINK IPCOP-VM, target: /var/www/html/cacti/rra/RED.rrd:incoming:outgoing on config line 78 had no valid data, according to WeatherMapDataSource_rrd
Code: Select all
rrdtool fetch RED.rrd AVERAGE --start now-800 --end now
incoming outgoing
1207596600: nan nan
1207596900: nan nan
1207597200: nan nan
1207597500: nan nan
Can anyone offer a potential solution? I'd be happy to provide any more details if needed.
Thanks a lot,
Rob
P.S.
I have dumped the contents of the RRD files, one from my server (working) and one from the IPCop (not working). Here is the incoming DS from each, for comparison:
Server:
Code: Select all
<ds>
<name> traffic_in </name>
<type> COUNTER </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 1.0000000000e+09 </max>
<!-- PDP Status -->
<last_ds> 3910382835 </last_ds>
<value> 2.4437833610e+05 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
Code: Select all
<ds>
<name> incoming </name>
<type> ABSOLUTE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 1.2500000000e+07 </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 7.9371739130e+03 </value>
<unknown_sec> 0 </unknown_sec>
</ds>