Skip to content

Commit

Permalink
Merge pull request #39 from mad-ady/master
Browse files Browse the repository at this point in the history
Remove RRD max limit of 180 - so that the RRD can store values larger…
  • Loading branch information
oetiker committed Jun 11, 2015
2 parents 943f986 + 6041983 commit cd0879a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Smokeping.pm
Expand Up @@ -557,8 +557,8 @@ sub init_target_tree ($$$$) {
($name.$s.".rrd", "--start",(time-1),"--step",$step,
"DS:uptime:GAUGE:".(2*$step).":0:U",
"DS:loss:GAUGE:".(2*$step).":0:".$pings,
"DS:median:GAUGE:".(2*$step).":0:180",
(map { "DS:ping${_}:GAUGE:".(2*$step).":0:180" }
"DS:median:GAUGE:".(2*$step).":0:U",
(map { "DS:ping${_}:GAUGE:".(2*$step).":0:U" }
1..$pings),
(map { "RRA:".(join ":", @{$_}) } @{$cfg->{Database}{_table}} ));
if (not -f $name.$s.".rrd"){
Expand Down

0 comments on commit cd0879a

Please sign in to comment.