diff options
Diffstat (limited to 'plugin/dns.php')
-rw-r--r-- | plugin/dns.php | 5 |
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 | ||
49 | collectd_flush($obj->identifiers); | 54 | collectd_flush($obj->identifiers); |