From: Florian Forster Date: Sat, 23 Jan 2010 12:10:20 +0000 (+0100) Subject: contrib/collection.cgi: Add graphs for "apache_connections" and "apache_idle_workers". X-Git-Tag: collectd-4.10.0~64 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=251c9140e4d4872343385a6c078e9d47a1c03509;p=collectd.git contrib/collection.cgi: Add graphs for "apache_connections" and "apache_idle_workers". Thanks to Gary (via the bug tracker). --- diff --git a/contrib/collection.cgi b/contrib/collection.cgi index cbdb76e8..3cc24c32 100755 --- a/contrib/collection.cgi +++ b/contrib/collection.cgi @@ -970,6 +970,28 @@ sub load_graph_definitions 'GPRINT:avg:LAST:%5.1lf%s Last', 'GPRINT:avg_sum:LAST:(ca. %5.1lf%sB Total)\l' ], + apache_connections => ['DEF:min={file}:count:MIN', + 'DEF:avg={file}:count:AVERAGE', + 'DEF:max={file}:count:MAX', + "AREA:max#$HalfBlue", + "AREA:min#$Canvas", + "LINE1:avg#$FullBlue:Connections", + 'GPRINT:min:MIN:%6.2lf Min,', + 'GPRINT:avg:AVERAGE:%6.2lf Avg,', + 'GPRINT:max:MAX:%6.2lf Max,', + 'GPRINT:avg:LAST:%6.2lf Last' + ], + apache_idle_workers => ['DEF:min={file}:count:MIN', + 'DEF:avg={file}:count:AVERAGE', + 'DEF:max={file}:count:MAX', + "AREA:max#$HalfBlue", + "AREA:min#$Canvas", + "LINE1:avg#$FullBlue:Idle Workers", + 'GPRINT:min:MIN:%6.2lf Min,', + 'GPRINT:avg:AVERAGE:%6.2lf Avg,', + 'GPRINT:max:MAX:%6.2lf Max,', + 'GPRINT:avg:LAST:%6.2lf Last' + ], apache_requests => ['DEF:min={file}:count:MIN', 'DEF:avg={file}:count:AVERAGE', 'DEF:max={file}:count:MAX',