Changeset 3351

Show
Ignore:
Timestamp:
02/13/10 16:21:00 (2 years ago)
Author:
steve.schnepp
Message:

implement the 10% extra space in the RRA

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • people/snide/pre_1.5/master/lib/Munin/Master/UpdateWorker.pm

    r3342 r3351  
    523523        foreach my $resolution_computer(@resolutions_computer) { 
    524524            my ($multiplier, $multiplier_nb) = @{$resolution_computer}; 
     525            # Always add 10% to the RRA size, as specified in  
     526            # http://munin.projects.linpro.no/wiki/format-graph_data_size 
     527            $multiplier_nb += int ($multiplier_nb / 10) || 1; 
    525528            push (@args,  
    526529                "RRA:AVERAGE:0.5:$multiplier:$multiplier_nb",