From 7e7427844e02dac4a8183456a4375a27b2d05598 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 8 Oct 2008 12:23:08 +0200 Subject: [PATCH] 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 --- contrib/collection.cgi | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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', -- 2.30.2