[bind, munin] Ajout d'un plugin pour bind

This commit is contained in:
Valentin Samir 2013-06-15 12:21:57 +02:00
parent 3f0f71ac1e
commit b75e47a677
3 changed files with 12 additions and 0 deletions

View file

@ -29,4 +29,8 @@
<Package name="bind9"/> <Package name="bind9"/>
<Service name="bind9"/> <Service name="bind9"/>
<Package name="dnssec-tools"/> <Package name="dnssec-tools"/>
<Group name="munin-node">
<Action name="munin-node-restart"/>
<Path name="/etc/munin/plugins/bind9_rndc"/>
</Group>
</Bundle> </Bundle>

View file

@ -50,3 +50,8 @@ group dialout
[whokfet] [whokfet]
user respbats user respbats
[bind9_rndc]
user root
env.querystats /var/cache/bind/named.stats

View file

@ -4,4 +4,7 @@
<Action name="bind-permission" timing="post" <Action name="bind-permission" timing="post"
when="modified" status="check" when="modified" status="check"
command="mkdir -p /etc/bind/generated; mkdir -p /etc/bind/signed; chmod 775 /etc/bind/generated /etc/bind/signed"/> 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> </Rules>