aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/dns.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/dns.php')
-rw-r--r--plugin/dns.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/dns.php b/plugin/dns.php
index d0784df..d0322f1 100644
--- a/plugin/dns.php
+++ b/plugin/dns.php
@@ -44,6 +44,11 @@ switch($obj->args['type']) {
44 $obj->rrd_title = 'DNS QType'; 44 $obj->rrd_title = 'DNS QType';
45 $obj->rrd_vertical = 'Queries/s'; 45 $obj->rrd_vertical = 'Queries/s';
46 break; 46 break;
47 case 'dns_rcode':
48 $obj->data_sources = array('value');
49 $obj->rrd_title = 'DNS Reply code';
50 $obj->rrd_vertical = 'Queries/s';
51 break;
47} 52}
48 53
49collectd_flush($obj->identifiers); 54collectd_flush($obj->identifiers);