diff options
| author | Pim van den Berg | 2014-05-03 18:15:12 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2014-05-03 19:21:36 +0200 |
| commit | edae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch) | |
| tree | da0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/zfs_arc.php | |
| parent | type/base: set default values for rrd_title and rrd_format (diff) | |
| download | apt-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 '')
| -rw-r--r-- | plugin/zfs_arc.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/zfs_arc.php b/plugin/zfs_arc.php index 5fc4407..5c25c3a 100644 --- a/plugin/zfs_arc.php +++ b/plugin/zfs_arc.php | |||
| @@ -35,7 +35,7 @@ switch($obj->args['type']) { | |||
| 35 | 'hits-prefetch_metadata' => 'ff00ff', | 35 | 'hits-prefetch_metadata' => 'ff00ff', |
| 36 | 'misses-prefetch_metadata' => '888800', | 36 | 'misses-prefetch_metadata' => '888800', |
| 37 | ); | 37 | ); |
| 38 | $obj->ds_names = array( | 38 | $obj->legend = array( |
| 39 | 'hits-demand_data' => 'data hits', | 39 | 'hits-demand_data' => 'data hits', |
| 40 | 'misses-demand_data' => 'metadata misses', | 40 | 'misses-demand_data' => 'metadata misses', |
| 41 | 'hits-demand_metadata' => 'metadata hits', | 41 | 'hits-demand_metadata' => 'metadata hits', |
| @@ -64,7 +64,7 @@ switch($obj->args['type']) { | |||
| 64 | 'write', | 64 | 'write', |
| 65 | 'read', | 65 | 'read', |
| 66 | ); | 66 | ); |
| 67 | $obj->ds_names = array( | 67 | $obj->legend = array( |
| 68 | 'write' => 'Write', | 68 | 'write' => 'Write', |
| 69 | 'read' => 'Read', | 69 | 'read' => 'Read', |
| 70 | ); | 70 | ); |
| @@ -79,7 +79,7 @@ switch($obj->args['type']) { | |||
| 79 | $obj->data_sources = array( | 79 | $obj->data_sources = array( |
| 80 | 'value', | 80 | 'value', |
| 81 | ); | 81 | ); |
| 82 | $obj->ds_names = array( | 82 | $obj->legend = array( |
| 83 | 'value' => 'Bytes', | 83 | 'value' => 'Bytes', |
| 84 | ); | 84 | ); |
| 85 | $obj->colors = array( | 85 | $obj->colors = array( |
