Skip to content

Commit

Permalink
collection.cgi: Fixed apache data-sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabiano Pires authored and tokkee committed Apr 26, 2014
1 parent 03223b6 commit 5d0a10f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions contrib/collection.cgi
Expand Up @@ -978,9 +978,9 @@ sub load_graph_definitions

$GraphDefs =
{
apache_bytes => ['DEF:min_raw={file}:count:MIN',
'DEF:avg_raw={file}:count:AVERAGE',
'DEF:max_raw={file}:count:MAX',
apache_bytes => ['DEF:min_raw={file}:value:MIN',
'DEF:avg_raw={file}:value:AVERAGE',
'DEF:max_raw={file}:value:MAX',
'CDEF:min=min_raw,8,*',
'CDEF:avg=avg_raw,8,*',
'CDEF:max=max_raw,8,*',
Expand All @@ -997,9 +997,9 @@ 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',
apache_connections => ['DEF:min={file}:value:MIN',
'DEF:avg={file}:value:AVERAGE',
'DEF:max={file}:value:MAX',
"AREA:max#$HalfBlue",
"AREA:min#$Canvas",
"LINE1:avg#$FullBlue:Connections",
Expand All @@ -1008,9 +1008,9 @@ sub load_graph_definitions
'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',
apache_idle_workers => ['DEF:min={file}:value:MIN',
'DEF:avg={file}:value:AVERAGE',
'DEF:max={file}:value:MAX',
"AREA:max#$HalfBlue",
"AREA:min#$Canvas",
"LINE1:avg#$FullBlue:Idle Workers",
Expand All @@ -1019,9 +1019,9 @@ sub load_graph_definitions
'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',
apache_requests => ['DEF:min={file}:value:MIN',
'DEF:avg={file}:value:AVERAGE',
'DEF:max={file}:value:MAX',
"AREA:max#$HalfBlue",
"AREA:min#$Canvas",
"LINE1:avg#$FullBlue:Requests/s",
Expand All @@ -1030,9 +1030,9 @@ sub load_graph_definitions
'GPRINT:max:MAX:%6.2lf Max,',
'GPRINT:avg:LAST:%6.2lf Last'
],
apache_scoreboard => ['DEF:min={file}:count:MIN',
'DEF:avg={file}:count:AVERAGE',
'DEF:max={file}:count:MAX',
apache_scoreboard => ['DEF:min={file}:value:MIN',
'DEF:avg={file}:value:AVERAGE',
'DEF:max={file}:value:MAX',
"AREA:max#$HalfBlue",
"AREA:min#$Canvas",
"LINE1:avg#$FullBlue:Processes",
Expand Down

0 comments on commit 5d0a10f

Please sign in to comment.