dns plugin: Implement the `SelectNumericQueryTypes' option.
authorMirko Buffoni <mirko.buffoni@synthesys.it>
Wed, 27 May 2009 11:26:00 +0000 (13:26 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 27 May 2009 11:30:43 +0000 (13:30 +0200)
commit442f435a3d57762d7db6ed23307e3e32478e68be
tree9e25a7286ad165033be26091bbc43532de6dea12
parentf154fb21fbb1fee2f2262d421eca32e7e340f420
dns plugin: Implement the `SelectNumericQueryTypes' option.

I've added this patch to my collectd because I have my data dir overpopulated
by unknown query types (those not found in nameserv.h which are converted to
their #xxxx numeric form).

When enabled in configuration file, this option just prevent registering these
qtypes to the list.

I don't see any issues, so I decided to contribute this patch to the list.

This has being tested against 4.6.2, but shouldn't have problems with 4.7.0

Your comments are welcome.

Mirko

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/collectd.conf.pod
src/dns.c