Commit a5b53014 authored by Paolino Paperino's avatar Paolino Paperino
Browse files

2018-02-28: FG; Added templates for PowerDNS.

parent c57d13b5
......@@ -9,4 +9,6 @@ Cmnd_Alias ZBXPS = /bin/ps, /usr/bin/ps, /sbin/ps, /usr/sbin/ps
Cmnd_Alias ZBXSMCLI = /bin/SMcli, /usr/bin/SMcli, /opt/dell/mdstoragemanager/client/SMcli
zabbix ALL = (root) NOPASSWD: ZBXCEPH, ZBXMULTIPATH, ZBXCRMCMD, ZBXHAPROXY, ZBXIPSTATE, ZBXPS, ZBXSMCLI
Cmnd_Alias ZBXPDNS = /usr/bin/pdns_control, /usr/bin/rec_control
zabbix ALL = (root) NOPASSWD: ZBXCEPH, ZBXMULTIPATH, ZBXCRMCMD, ZBXHAPROXY, ZBXIPSTATE, ZBXPS, ZBXSMCLI, ZBXPDNS
UserParameter=pdns_stats[*],/usr/bin/sudo /usr/bin/pdns_control show $1
UserParameter=pdnsrec_stats[*],/usr/bin/sudo /usr/bin/rec_control get $1
PowerDNS
========
Based on: https://share.zabbix.com/cat-app/powerdns-and-powerdns-recursor
(At time of writing, this is really an unmodified copy)
The template file includes a template for PowerDNS server and a template
for PowerDNS recursor.
The machinery relies on the execution of
```
/usr/bin/pdns_control show <something>
```
The sudoers file for Zabbix user should allow execution of `pdns_control`.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment