diff options
Diffstat (limited to '')
-rw-r--r-- | plugin/dns.php | 7 |
1 files changed, 1 insertions, 6 deletions
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']) { | |||
35 | break; | 35 | break; |
36 | case 'dns_opcode': | 36 | case 'dns_opcode': |
37 | $obj->data_sources = array('value'); | 37 | $obj->data_sources = array('value'); |
38 | $obj->ds_names = array( | 38 | $obj->generate_colors(); |
39 | 'value' => 'Queries/s', | ||
40 | ); | ||
41 | $obj->colors = array( | ||
42 | 'value' => '0000ff', | ||
43 | ); | ||
44 | $obj->rrd_title = 'DNS Opcode Query'; | 39 | $obj->rrd_title = 'DNS Opcode Query'; |
45 | $obj->rrd_vertical = 'Queries/s'; | 40 | $obj->rrd_vertical = 'Queries/s'; |
46 | $obj->rrd_format = '%5.1lf%s'; | 41 | $obj->rrd_format = '%5.1lf%s'; |