Feature #5307 ยป quality-log-scale.diff
usr/local/www/status_rrd_graph_img.php | ||
---|---|---|
1047 | 1047 |
} |
1048 | 1048 |
elseif((strstr($curdatabase, "-quality.rrd")) && (file_exists("$rrddbpath$curdatabase"))) { |
1049 | 1049 |
/* make a link quality graphcmd, we only have WAN for now, others too follow */ |
1050 |
$multiplier = 1; |
|
1051 |
$AREA = "LINE1"; |
|
1050 | 1052 |
$graphcmd = "$rrdtool graph $rrdtmppath$curdatabase-$curgraph.png \\ |
1051 | 1053 |
--start $start --end $end --step $step \\ |
1054 |
--logarithmic --units=si \\ |
|
1052 | 1055 |
--title \"" . php_uname('n') . " - {$prettydb} - {$hperiod} - {$havg} average\" \\ |
1053 | 1056 |
--color SHADEA#eeeeee --color SHADEB#eeeeee \\ |
1054 | 1057 |
--vertical-label \"ms / %\" \\ |
1055 | 1058 |
--height 200 --width 620 \\ |
1056 |
--lower-limit 0 \\ |
|
1059 |
--lower-limit 0.001 \\
|
|
1057 | 1060 |
DEF:delayraw=$rrddbpath$curdatabase:delay:AVERAGE:step=$step \\ |
1058 | 1061 |
DEF:loss=$rrddbpath$curdatabase:loss:AVERAGE:step=$step \\ |
1059 | 1062 |
\"CDEF:delay=delayraw,1000,*\" \\ |