aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/nginx.php
diff options
context:
space:
mode:
authorPim van den Berg2014-05-03 18:15:12 +0200
committerPim van den Berg2014-05-03 19:21:36 +0200
commitedae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch)
treeda0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/nginx.php
parenttype/base: set default values for rrd_title and rrd_format (diff)
downloadapt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.zip
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.gz
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.bz2
apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.xz
rename ds_names and dsname to legend
This had nothing to do with an RRD data source.
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(