I have a problem where I monitor data on the hour. Sometimes it can take up to a minute for me to gather my data. This results in some extrapolation being done in rrdtool to store my data at the data storage points (on the whole hour). To overcome this I have to run my data gathering outside of cacti and record the results to a file. Then I have cacti read the file so it is as close to the hour as possible. I have requested a feature be added to rrdtool that will allow you to update for example at times past the hour but not have your value change when extrapolated to the data storage point.
I do not know if this will be added to rrdtool so I think cacti should allow you handle stuff like this directly. So instead of updating RRAs like this
rrdtool update N:1 cacti should figure out what the time is and (if some cacti setting like Do not change value while extrapolating is set) round that time off to the exact data storage point. So for example if I have cacti run my data gaterhing script that takes 1 minute (60 secs) to get its data my update would essentially be:
rrdtool update test.rrd N:1
or
rrdtool update 920808060:1
Cacti should therefore figure out that 920808060 is exactly 60 seconds past the whole hour (data storage point) and adjust the time value to
920808000 and update with the command
rrdtool update 920808000:1
Thank you very much
Extrapolation and data not arriving at exact intervals
Moderators: Developers, Moderators
RRDtool already does this. In the documentation its refered to as Data Resampling. Check out the rrdtutorial at http://people.ee.ethz.ch/~oetiker/webto ... orial.html for more info.
I'm not sure, according to your post, how this feature doesn't meet you needs.
I'm not sure, according to your post, how this feature doesn't meet you needs.
Who is online
Users browsing this forum: No registered users and 0 guests