From edae75c21a8f657dd6cc9ace9e8e844ef337a951 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 3 May 2014 18:15:12 +0200 Subject: rename ds_names and dsname to legend This had nothing to do with an RRD data source. --- plugin/vmem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/vmem.php') diff --git a/plugin/vmem.php b/plugin/vmem.php index 8fb81ce..f66272b 100644 --- a/plugin/vmem.php +++ b/plugin/vmem.php @@ -20,14 +20,14 @@ switch($obj->args['type']) { $obj->data_sources = array('minflt', 'majflt'); $obj->colors = array('minflt' => '0000f0', 'majflt' => 'f00000'); - $obj->ds_names = array('minflt' => 'Minor', + $obj->legend = array('minflt' => 'Minor', 'majflt' => 'Major'); $obj->rrd_title = 'Page faults'; $obj->rrd_vertical = ''; break; case 'vmpage_io': $obj->data_sources = array('in', 'out'); - $obj->ds_names = array('memory-in' => 'Memory (in)', + $obj->legend = array('memory-in' => 'Memory (in)', 'memory-out' => 'Memory (out)', 'swap-in' => 'Swap (in)', 'swap-out' => 'Swap (out)'); -- cgit v1.1