Only one data item getting updated in RRDfile

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
hypatia
Posts: 17
Joined: Mon Jan 03, 2005 1:28 pm

Only one data item getting updated in RRDfile

Post by hypatia »

Howdy,
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 \
From the log file, I can see that the script is executed correctly:

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
Yet only the dewpoint_f data item is getting picked up and added to the RRD.

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
I can't find anything different about dewpoint_f in my data template, data input method, or data source. Has anybody seen this type of behavior before? Can anybody give me a clue?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Apply all the 0.8.6f patches, and then re-verify your data template and recreate your graph for the host.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests