From cc8c9ed8314395067f4acf6cbeb0b0ed7ee7454d Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sun, 18 Oct 2009 02:00:07 +0100 Subject: [PATCH] add bind_views plugin Signed-off-by: Stephen Gran --- modules/named/manifests/geodns.pp | 4 ++++ modules/samhain/templates/samhainrc.erb | 1 + 2 files changed, 5 insertions(+) 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 -- 2.20.1