benchmark => { hourly => { start_sec => "e-48h", title => "Apache average Response Time for the last 48 Hours", }, daily => { start_sec => "e-12d", title => "Apache average Response Time for the last 12 Days", }, weekly => { start_sec => "e-48d", title => "Apache average Response Time for the last 48 Days", }, monthly => { start_sec => "e-576D", title => "Apache average Response Time for the last 576 Days !", }, yaxis => "Micro-Seconds", lines => sub { my ($RRD,$service,$graph,$p,$color)=@_; my($part) = $RRD; $part =~ s/^.*benchmark,/,/; $part =~ s/\.rrd//; $part =~ s/\,//g; return [ qq{DEF:$p=$RRD:BENCHMARK:AVERAGE}, qq{LINE2:$p#$color:$part}, qq{-l 0} ] }, },