Applications ------------ You can use Application support to graph performance statistics from many applications. Different applications support a variety of ways collect data: by direct connection to the application, snmpd extend, or the agent. 1. [BIND9/named](#bind9-aka-named) - Agent 2. [MySQL](#mysql) - Agent 3. [NGINX](#nginx) - Agent 4. [PowerDNS](#powerdns) - Agent 5. [PowerDNS Recursor](#powerdns-recursor) - Agent 6. [TinyDNS/djbdns](#tinydns-aka-djbdns) - Agent * [Agent Setup](#agent-setup) ### BIND9 aka named ##### Agent [Install the agent](#agent-setup) on this device if it isn't already and copy the `bind` script to `/usr/lib/check_mk_agent/local/` Create stats file with appropriate permissions: ```shell ~$ touch /etc/bind/named.stats ~$ chown bind:bind /etc/bind/named.stats ``` Change `user:group` to the user and group that's running bind/named. Bind/named configuration: ```text options { ... statistics-file "/etc/bind/named.stats"; zone-statistics yes; ... }; ``` Restart your bind9/named after changing the configuration. Verify that everything works by executing `rndc stats && cat /etc/bind/named.stats`. In case you get a `Permission Denied` error, make sure you chown'ed correctly. Note: if you change the path you will need to change the path in `scripts/agent-local/bind`. ### MySQL ##### Agent [Install the agent](#agent-setup) on this device if it isn't already and copy the `mysql` script to `/usr/lib/check_mk_agent/local/` Unlike most other scripts, the MySQL script requires a configuration file `/usr/lib/check_mk_agent/local/mysql.cnf` with following content: ```php