From b17b98204d7e5a86f093203fd1dcd00b39ac57f0 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Fri, 4 Feb 2011 21:30:51 +0100 Subject: plugin/dns: generate colors in type dns_opcode --- plugin/dns.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugin') diff --git a/plugin/dns.php b/plugin/dns.php index f0c1b85..a3e5613 100644 --- a/plugin/dns.php +++ b/plugin/dns.php @@ -35,12 +35,7 @@ switch($obj->args['type']) { break; case 'dns_opcode': $obj->data_sources = array('value'); - $obj->ds_names = array( - 'value' => 'Queries/s', - ); - $obj->colors = array( - 'value' => '0000ff', - ); + $obj->generate_colors(); $obj->rrd_title = 'DNS Opcode Query'; $obj->rrd_vertical = 'Queries/s'; $obj->rrd_format = '%5.1lf%s'; -- cgit v1.1