From: Sebastian Harl Date: Wed, 8 Oct 2008 10:23:08 +0000 (+0200) Subject: collection.cgi: Added support for the "connection" type. X-Git-Tag: collectd-4.4.4~7 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7e7427844e02dac4a8183456a4375a27b2d05598;p=collectd.git collection.cgi: Added support for the "connection" type. This is used e.g. by the "ipvs" plugin. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- diff --git a/contrib/collection.cgi b/contrib/collection.cgi index 753b56e4..f725c28a 100755 --- a/contrib/collection.cgi +++ b/contrib/collection.cgi @@ -1016,6 +1016,18 @@ sub load_graph_definitions 'GPRINT:max:MAX:%5.1lf%sAh Max,', 'GPRINT:avg:LAST:%5.1lf%sAh Last\l' ], + connections => ['-v', 'Connections', + 'DEF:avg={file}:value:AVERAGE', + 'DEF:min={file}:value:MIN', + 'DEF:max={file}:value:MAX', + "AREA:max#$HalfBlue", + "AREA:min#$Canvas", + "LINE1:avg#$FullBlue:Connections", + 'GPRINT:min:MIN:%4.1lf Min,', + 'GPRINT:avg:AVERAGE:%4.1lf Avg,', + 'GPRINT:max:MAX:%4.1lf Max,', + 'GPRINT:avg:LAST:%4.1lf Last\l' + ], cpu => ['-v', 'CPU load', 'DEF:avg={file}:value:AVERAGE', 'DEF:min={file}:value:MIN',