Ilya Mashchenko 44807f0dab convert collectors meta files from single to multi (#15642) 1 год назад
..
Makefile.inc d802f83e4a Fix make dist (#4401) 6 лет назад
README.md 0ae02c9fb6 Change H1 of collector docs to separate from the website (#14715) 2 лет назад
metadata.yaml 44807f0dab convert collectors meta files from single to multi (#15642) 1 год назад
nsd.chart.py f1d133190b collectors/python.d: format modules code (#7832) 5 лет назад
nsd.conf 5286dae8eb python.d.plugin update (#4936) 6 лет назад

README.md

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:

  1. Queries

    • queries
  2. Zones

    • master
    • slave
  3. Protocol

    • udp
    • udp6
    • tcp
    • tcp6
  4. Query Type

    • A
    • NS
    • CNAME
    • SOA
    • PTR
    • HINFO
    • MX
    • NAPTR
    • TXT
    • AAAA
    • SRV
    • ANY
  5. Transfer

    • NOTIFY
    • AXFR
  6. 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