[collectd] [PATCH] collection.cgi: Added support for the "connection" type.
Sebastian Harl
sh at tokkee.org
Wed Oct 8 12:23:08 CEST 2008
This is used e.g. by the "ipvs" plugin.
Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
contrib/collection.cgi | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/contrib/collection.cgi b/contrib/collection.cgi
index fb4947d..7de8bcc 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',
--
1.6.0.2.307.gc4275
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20081008/22a3ae5f/attachment.pgp
More information about the collectd
mailing list