hotsanic |
Subversion Repositories: |
Rev 1 | Rev 26 | |
---|---|---|
Line 80... | Line 80... | |
"GPRINT:min:MIN: (%6.2lf%s /\\g", |
"GPRINT:min:MIN: (%6.2lf%s /\\g", | |
"GPRINT:max:MAX: %6.2lf%s $LEGEND)\\n", |
"GPRINT:max:MAX: %6.2lf%s $LEGEND)\\n", | |
"LINE1:max#c00000:max", |
"LINE1:max#c00000:max", | |
"GPRINT:max:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:max:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:max:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:max:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:max:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:max:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"AREA:min#ffffff:", |
"AREA:min#ffffff:", | |
"LINE1:avg#000000:avg", |
"LINE1:avg#000000:avg", | |
"GPRINT:avg:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:avg:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:avg:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:avg:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:avg:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:avg:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"LINE1:min#00c000:min", |
"LINE1:min#00c000:min", | |
"GPRINT:min:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:min:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:min:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:min:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:min:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:min:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"AREA:wrong#ffffa0:unreachable", |
"AREA:wrong#ffffa0:unreachable", | |
"HRULE:0#000000"; |
"HRULE:0#000000"; | |
} |
} | |
else { |
else { | |
if ($TYPE eq "simple") { |
if ($TYPE eq "simple") { | |
Line 113... | Line 113... | |
"AREA:maxx#c0c0ff:", |
"AREA:maxx#c0c0ff:", | |
"AREA:mini#ffffff:", |
"AREA:mini#ffffff:", | |
"LINE1:maxx#c00000:max", |
"LINE1:maxx#c00000:max", | |
"GPRINT:maxi:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:maxi:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:maxa:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:maxa:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:maxx:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:maxx:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"LINE1:avga#000000:avg", |
"LINE1:avga#000000:avg", | |
"GPRINT:avgi:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:avgi:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:avga:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:avga:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:avgx:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:avgx:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"LINE1:mini#00c000:min", |
"LINE1:mini#00c000:min", | |
"GPRINT:mini:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:mini:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:mina:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:mina:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:minx:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:minx:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"AREA:wrong#ffffa0:unreachable", |
"AREA:wrong#ffffa0:unreachable", | |
"HRULE:0#000000"; |
"HRULE:0#000000"; | |
} |
} | |
else { |
else { | |
($prints,$xs,$ys)=RRDs::graph $TEMPNAME, "-i", "-b","1000", "-v",$LEGEND, |
($prints,$xs,$ys)=RRDs::graph $TEMPNAME, "-i", "-b","1000", "-v",$LEGEND, | |
Line 142... | Line 142... | |
"DEF:maxx=rrd/$dev.rrd:max:MAX", |
"DEF:maxx=rrd/$dev.rrd:max:MAX", | |
"CDEF:wrong=maxx,0,EQ,INF,UNKN,IF", |
"CDEF:wrong=maxx,0,EQ,INF,UNKN,IF", | |
"AREA:maxx#ffc0c0:max", |
"AREA:maxx#ffc0c0:max", | |
"GPRINT:maxi:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:maxi:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:maxa:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:maxa:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:maxx:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:maxx:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"AREA:maxi#ffffff:", |
"AREA:maxi#ffffff:", | |
"AREA:avgx#c0c0ff:avg", |
"AREA:avgx#c0c0ff:avg", | |
"GPRINT:avgi:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:avgi:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:avga:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:avga:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:avgx:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:avgx:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"AREA:avgi#ffffff:", |
"AREA:avgi#ffffff:", | |
"AREA:minx#c0ffc0:min", |
"AREA:minx#c0ffc0:min", | |
"GPRINT:mini:MIN: (min\\:%6.2lf%s /\\g", |
"GPRINT:mini:MIN: (min\\:%6.2lf%s /\\g", | |
"GPRINT:mina:AVERAGE: avg\\:%6.2lf%s /\\g", |
"GPRINT:mina:AVERAGE: avg\\:%6.2lf%s /\\g", | |
"GPRINT:minx:MAX: max\\:%6.2lf%s $LEGEND)\\n:", |
"GPRINT:minx:MAX: max\\:%6.2lf%s $LEGEND)\\n", | |
"AREA:mini#ffffff:", |
"AREA:mini#ffffff:", | |
"LINE1:maxa#c00000:", |
"LINE1:maxa#c00000:", | |
"LINE1:mina#00c000:", |
"LINE1:mina#00c000:", | |
"LINE1:avga#000000:", |
"LINE1:avga#000000:", | |
"AREA:wrong#ffffa0:unreachable", |
"AREA:wrong#ffffa0:unreachable", |