[bind, munin] Ajout d'un plugin pour bind
This commit is contained in:
parent
3f0f71ac1e
commit
b75e47a677
3 changed files with 12 additions and 0 deletions
|
@ -29,4 +29,8 @@
|
|||
<Package name="bind9"/>
|
||||
<Service name="bind9"/>
|
||||
<Package name="dnssec-tools"/>
|
||||
<Group name="munin-node">
|
||||
<Action name="munin-node-restart"/>
|
||||
<Path name="/etc/munin/plugins/bind9_rndc"/>
|
||||
</Group>
|
||||
</Bundle>
|
||||
|
|
|
@ -50,3 +50,8 @@ group dialout
|
|||
|
||||
[whokfet]
|
||||
user respbats
|
||||
|
||||
[bind9_rndc]
|
||||
user root
|
||||
env.querystats /var/cache/bind/named.stats
|
||||
|
||||
|
|
|
@ -4,4 +4,7 @@
|
|||
<Action name="bind-permission" timing="post"
|
||||
when="modified" status="check"
|
||||
command="mkdir -p /etc/bind/generated; mkdir -p /etc/bind/signed; chmod 775 /etc/bind/generated /etc/bind/signed"/>
|
||||
<Group name="munin-node">
|
||||
<Path type="symlink" name="/etc/munin/plugins/bind9_rndc" to="/usr/share/munin/plugins/bind9_rndc"/>
|
||||
</Group>
|
||||
</Rules>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue