rrdtool update, only updates one DS

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

Moderators: Developers, Moderators

Post Reply
snis
Posts: 1
Joined: Mon Oct 01, 2012 2:38 pm

rrdtool update, only updates one DS

Post by snis »

Hi.

Having a problem with Cacti, that only updates one DS in the rra file.

This is from the cacti.log in debug mode:

Code: Select all

10/01/2012 08:25:06 PM - SPINE: Poller[0] Host[3] TH[1] DS[22] SCRIPT: /usr/share/webapps/cacti/pageload/pageload-agent.php http://www.example.com, output: ttl:0.586881 str:0.564484 dns:0.001455 con:0.020122 pre:0.020165 sze:8959 spd:15265
As you can see from the output I'm trying to fill the rra with seven DS.
But when rrdtool update runs it looks like this:

Code: Select all

10/01/2012 08:25:07 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /usr/share/webapps/cacti/rra/example_spd_22.rrd --template ttl 1349115905:0.020122
As you can see the rrdtool update only updates the "ttl" DS and with the value from "con". Where should I look?

The Script worked fine for the first machines I configured, but somewhere along the line (I changed the templates and so on). And all new hosts I add now have the above fault.

Please give me some clues :-)
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: rrdtool update, only updates one DS

Post by gandalf »

May it happen, that the other data source items have been added to the data template AFTER the related rrd file has been created? In this case, please delete the rrd file. On the next poller run, cacti will re-build that file using the current data template definitions
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests