PowerDNS Plugin

This plugin monitors the PowerDNS Authoritative Server.

๐Ÿ“˜

To monitor PowerDNS recursor servers, you will need to add additional keys to the configuration file.

Configure the plugin

To enable the plugin, edit the /etc/agent360.ini file and add the following lines:

[powerdns]
   enabled=yes
   statistics_url=<http://localhost:8081/api/v1/servers/localhost/statistics>
   api_key=changeme

Be sure to change the api_key setting to your current API key, available through the API page.

To enable the plugin for PowerDNS recursor servers, add the additional following lines to the /etc/agent360.ini file:

ca_file=filename
ca_path=path
timeout=10

Replace filename with the name of the server's CA, and path with the absolute path to that file.

Test the plugin

To test this plugin, run the sudo -u agent360 agent360 test powerdns command.

Now you can restart the agent with the service agent360 restart command.