diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/apache.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/apache.php b/plugin/apache.php index 71be4fe..c942255 100644 --- a/plugin/apache.php +++ b/plugin/apache.php | |||
@@ -19,15 +19,15 @@ switch ($obj->args['type']) { | |||
19 | case 'apache_bytes': | 19 | case 'apache_bytes': |
20 | $obj->data_sources = array('value'); | 20 | $obj->data_sources = array('value'); |
21 | $obj->ds_names = array( | 21 | $obj->ds_names = array( |
22 | 'value' => sprintf('%s/s', ucfirst($CONFIG['datasize'])), | 22 | 'value' => sprintf('%s/s', ucfirst($CONFIG['network_datasize'])), |
23 | ); | 23 | ); |
24 | $obj->colors = array( | 24 | $obj->colors = array( |
25 | 'value' => '0000ff', | 25 | 'value' => '0000ff', |
26 | ); | 26 | ); |
27 | $obj->rrd_title = sprintf('Webserver Traffic%s', | 27 | $obj->rrd_title = sprintf('Webserver Traffic%s', |
28 | !empty($obj->args['pinstance']) ? ' ('.$obj->args['pinstance'].')' : ''); | 28 | !empty($obj->args['pinstance']) ? ' ('.$obj->args['pinstance'].')' : ''); |
29 | $obj->rrd_vertical = sprintf('%s/s', ucfirst($CONFIG['datasize'])); | 29 | $obj->rrd_vertical = sprintf('%s/s', ucfirst($CONFIG['network_datasize'])); |
30 | $obj->scale = $CONFIG['datasize'] == 'bits' ? 8 : 1; | 30 | $obj->scale = $CONFIG['network_datasize'] == 'bits' ? 8 : 1; |
31 | break; | 31 | break; |
32 | case 'apache_connections': | 32 | case 'apache_connections': |
33 | $obj->data_sources = array('value'); | 33 | $obj->data_sources = array('value'); |