From: Florian Forster Date: Wed, 6 Dec 2006 07:55:09 +0000 (+0100) Subject: contrib/collection.cgi: Added graphs for `opcode' RRD-files (from the dns plugin) X-Git-Tag: collectd-3.11.0~26^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=07895f57e7932bae83f72c97e2cc391186c0c287;p=collectd.git contrib/collection.cgi: Added graphs for `opcode' RRD-files (from the dns plugin) --- diff --git a/contrib/collection.cgi b/contrib/collection.cgi index ddf44653..74942023 100755 --- a/contrib/collection.cgi +++ b/contrib/collection.cgi @@ -653,6 +653,18 @@ our $GraphDefs; 'GPRINT:read_avg:AVERAGE:%5.1lf Avg,', 'GPRINT:read_avg:LAST:%5.1lf Last\l' ], + opcode => [ + 'DEF:avg={file}:value:AVERAGE', + 'DEF:min={file}:value:MIN', + 'DEF:max={file}:value:MAX', + "AREA:max#$HalfBlue", + "AREA:min#$Canvas", + "LINE1:avg#$FullBlue:Queries/s", + 'GPRINT:min:MIN:%9.3lf Min,', + 'GPRINT:avg:AVERAGE:%9.3lf Average,', + 'GPRINT:max:MAX:%9.3lf Max,', + 'GPRINT:avg:LAST:%9.3lf Last\l' + ], partition => [ "DEF:rbyte_avg={file}:rbytes:AVERAGE", "DEF:rbyte_min={file}:rbytes:MIN", @@ -1132,6 +1144,7 @@ our $GraphArgs = mysql_qcache => ['-t', 'mysql query cache', '-v', 'Queries/s' ], mysql_threads => ['-t', 'mysql threads', '-v', 'Threads' ], nfs3_procedures => ['-t', '{host} NFSv3 {inst} procedures', '-v', 'Procedures/s' ], + opcode => ['-t', 'OpCode {inst}', '-v', 'Queries/s'], partition => ['-t', '{host} partition {inst} usage', '-v', 'Byte/s'], ping => ['-t', '{host} ping to {inst}', '-v', 'ms'], processes => ['-t', '{host} processes', '-v', 'Processes'],