Issue #2556 has been updated by Andrew Parker.

Target version deleted (2.7.x)


----------------------------------------
Bug #2556: rrdgraph only holds data for 6.25days in rrd dbs
https://projects.puppetlabs.com/issues/2556#change-80227

Author: Michael Gebetsroither
Status: Accepted
Priority: Normal
Assignee: 
Category: reports
Target version: 
Affected Puppet version: 0.24.5
Keywords: 
Branch: 


hi,

i've enabled rrdgraph a few weeks agoand it works great
But the graphs created by puppet never show data beyond about one week.

I've looked at the .rrd db files and they are set up to contain 300 samples, 
with the normal 30min interval.
Whichs gives about 6.25days and seems to be correct.
So it would be nice to not only create graphs for montly and beyond data, but 
also record the needed samples in the db.

I'm really no ruby programmer, but it should be lib/puppet/util/metrics.rb line 
40 and 42:
def create(start = nil)
...
    args.push "DS:%s:GAUGE:7200:U:U" % [value[0]]
and
    args.push "RRA:AVERAGE:0.5:1:300"

software versions:
puppet 0.24.5-3 (debian lenny)
RRDtool http://rubyrrdtool.rubyforge.org/ with own patch to get it working with 
librrd-dev 1.3
patch is at: 
http://github.com/gebi/rubyrrdtool/commit/dace968eee0c323076f1004f494b525176faac02

greets,
michael


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to puppet-bugs@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-bugs+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to