Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Extrapolation and data not arriving at exact intervals

 
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests
Author Message
bragiba
Guest





PostPosted: Mon Mar 03, 2003 4:28 am    Post subject: Extrapolation and data not arriving at exact intervals Reply with quote

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
Back to top
ranc0r



Joined: 15 Nov 2002
Posts: 9

PostPosted: Thu Mar 06, 2003 7:22 pm    Post subject: Reply with quote

RRDtool already does this. In the documentation its refered to as Data Resampling. Check out the rrdtutorial at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/tutorial/rrdtutorial.html for more info.

I'm not sure, according to your post, how this feature doesn't meet you needs.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group