From: Stephen Gran Date: Sun, 18 Oct 2009 01:00:07 +0000 (+0100) Subject: add bind_views plugin X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cc8c9ed8314395067f4acf6cbeb0b0ed7ee7454d;hp=5ac8ff2214288d50b7ddef3915650d6c9e65c89b;p=mirror%2Fdsa-puppet.git add bind_views plugin Signed-off-by: Stephen Gran --- diff --git a/modules/named/manifests/geodns.pp b/modules/named/manifests/geodns.pp index 0ca7b9d8c..42e1db9bb 100644 --- a/modules/named/manifests/geodns.pp +++ b/modules/named/manifests/geodns.pp @@ -1,4 +1,8 @@ class named::geodns inherits named { + activate_munin_check { + "bind_views": script => bind; + } + file { "/etc/apt/sources.list.d/geoip.list": content => template("debian-org/etc/apt/sources.list.d/geoip.list.erb"), diff --git a/modules/samhain/templates/samhainrc.erb b/modules/samhain/templates/samhainrc.erb index 94fc5a849..574ee8de9 100644 --- a/modules/samhain/templates/samhainrc.erb +++ b/modules/samhain/templates/samhainrc.erb @@ -263,6 +263,7 @@ end out %> file=/etc/munin/plugins/bind +file=/etc/munin/plugins/bind_views file=/etc/munin/plugins/cpu file=/etc/munin/plugins/df file=/etc/munin/plugins/df_abs