aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/nginx.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/nginx.php')
-rw-r--r--plugin/nginx.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/nginx.php b/plugin/nginx.php
index 7d70190..cbb0fa4 100644
--- a/plugin/nginx.php
+++ b/plugin/nginx.php
@@ -21,7 +21,7 @@ switch($obj->args['type'])
21{ 21{
22 case 'connections': 22 case 'connections':
23 $obj->order = array('accepted', 'handled'); 23 $obj->order = array('accepted', 'handled');
24 $obj->ds_names = array( 24 $obj->legend = array(
25 'accepted' => 'Accepted', 25 'accepted' => 'Accepted',
26 'handled' => 'Handled', 26 'handled' => 'Handled',
27 ); 27 );
@@ -34,7 +34,7 @@ switch($obj->args['type'])
34 break; 34 break;
35 case 'nginx_connections': 35 case 'nginx_connections':
36 $obj->order = array('active', 'reading', 'waiting', 'writing'); 36 $obj->order = array('active', 'reading', 'waiting', 'writing');
37 $obj->ds_names = array( 37 $obj->legend = array(
38 'active' => 'Active', 38 'active' => 'Active',
39 'reading' => 'Reading', 39 'reading' => 'Reading',
40 'waiting' => 'Waiting', 40 'waiting' => 'Waiting',
@@ -50,7 +50,7 @@ switch($obj->args['type'])
50 $obj->rrd_vertical = 'Connections/s'; 50 $obj->rrd_vertical = 'Connections/s';
51 break; 51 break;
52 case 'nginx_requests': 52 case 'nginx_requests':
53 $obj->ds_names = array( 53 $obj->legend = array(
54 'value' => 'Requests', 54 'value' => 'Requests',
55 ); 55 );
56 $obj->colors = array( 56 $obj->colors = array(