PowerDNS Recursive Resolver
Icinga/Nagios plugin, interned to check PowerDNS status using rec_control
PowerDNS Recursive Resolver check
Icinga/Nagios plugin, interned to check PowerDNS Recursor status using rec_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 rec_control or
the API.
rec_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:8082 using key "myapikey".
./check_powerdns_rec.py -A 127.0.0.1 -P 8082 -k myapikey -p
Use --help argument for a description of all arguments.
./check_powerdns_rec.py --help
License
PowerDNS Recursive Resolver check is licensed under the terms of the GNU General Public License Version 3.