NSD collector
Uses the nsd-control stats_noreset
command to provide nsd
statistics.
Requirements
- Version of
nsd
must be 4.0+ - Netdata must have permissions to run
nsd-control stats_noreset
It produces:
Queries
- queries
Zones
- master
- slave
Protocol
- udp
- udp6
- tcp
- tcp6
Query Type
- A
- NS
- CNAME
- SOA
- PTR
- HINFO
- MX
- NAPTR
- TXT
- AAAA
- SRV
- ANY
Transfer
- NOTIFY
- AXFR
Return Code
- NOERROR
- FORMERR
- SERVFAIL
- NXDOMAIN
- NOTIMP
- REFUSED
- YXDOMAIN
Configuration is not needed.
Troubleshooting
To troubleshoot issues with the nsd
module, run the python.d.plugin
with the debug option enabled. The
output will give you the output of the data collection job or error messages on why the collector isn't working.
First, navigate to your plugins directory, usually they are located under /usr/libexec/netdata/plugins.d/
. If that's
not the case on your system, open netdata.conf
and look for the setting plugins directory
. Once you're in the
plugin's directory, switch to the netdata
user.
cd /usr/libexec/netdata/plugins.d/
sudo su -s /bin/bash netdata
Now you can manually run the nsd
module in debug mode:
./python.d.plugin nsd debug trace
Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.