PowerDNS Authoritative check
Icinga/Nagios plugin, interned to check PowerDNS Authoritative status using pdns_control or the API. A non-zero exit code is generated if the numbers of DNS queries per seconds exceeds warning/critical
Installation and requirements
- Python 2.7 or Python 3.x
- Either pdns_control or
the API.
pdns_control is included in the PowerDNS package. It is used to send commands to a running PowerDNS nameserver. - monitoring-plugins
On debian-based systems you need the packagenagios-plugins
or the packagemonitoring-plugins
Usage
For example: check the statistics using the API running on 127.0.0.1:8081 using key "myapikey".
./check_powerdns_auth.py -A 127.0.0.1 -P 8081 -k myapikey -p
Use --help argument for a description of all arguments.
./check_powerdns_auth.py --help
License
PowerDNS Authoritative check is licensed under the terms of the GNU General Public License Version 3.