Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CSD
public
zabbix-templates
Commits
a5b53014
Commit
a5b53014
authored
Feb 28, 2018
by
Paolino Paperino
Browse files
2018-02-28: FG; Added templates for PowerDNS.
parent
c57d13b5
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Any/Sudo/zabbix
View file @
a5b53014
...
...
@@ -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
PowerDNS/Config/userparameter_powerdns.conf
0 → 100644
View file @
a5b53014
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/README.md
0 → 100644
View file @
a5b53014
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`
.
PowerDNS/Template/zbx_tmpl_powerdns.xml
0 → 100644
View file @
a5b53014
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment