I'm trying to graph some weather info from the National Weather Service using a script and data & graph templates I made (I'll post it all when it's working). The problem is that only one of the data fields is getting added to the rrd file. This is how the RRD was created by Cacti:
Code: Select all
/usr/local/rrdtool/bin/rrdtool create \
/usr/local/cacti-0.8.6c/rra/weatherNWS_848.rrd \
--step 300 \
DS:heat_index_f:GAUGE:600:0:100 \
DS:dewpoint_f:GAUGE:600:0:100 \
DS:relative_humidity:GAUGE:600:0:100 \
DS:windchill_f:GAUGE:600:0:U \
DS:pressure_in:GAUGE:600:0:U \
DS:temp_f:GAUGE:600:0:U \
DS:visibility:GAUGE:600:0:100 \
DS:wind_gust_mph:GAUGE:600:0:U \
DS:wind_mph:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
Code: Select all
08/02/2005 12:35:14 PM - CMDPHP: Poller[0] Host[0] CMD: /usr/bin/python /usr/local/cacti-0.8.6c/scripts/wcurrent.py KIAD, output: temp_f:87 dewpoint_f:70 windchill_f:87 heat_index_f:92 relative_humidity:57 pressure_in:30.09 wind_mph:5.75 wind_gust_mph:0 visibility:7.00
Code: Select all
08/02/2005 12:35:15 PM - POLLER: Poller[0] Parsed MULTI output field 'dewpoint_f:70' [map dewpoint_f->dewpoint_f]
....
08/02/2005 12:35:15 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/cacti-0.8.6c/rra/weatherNWS_848.rrd --template dewpoint_f 1123000503:70