summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README4
-rw-r--r--files/config/host/munin.conf.header.CentOS9
2 files changed, 11 insertions, 2 deletions
diff --git a/README b/README
index f7da439..5964b21 100644
--- a/README
+++ b/README
@@ -86,5 +86,7 @@ To use this module, follow these directions:
$munin_port = 4948
- i. if you'd like to do cgi graphing, please note the following page: http://munin.projects.linpro.no/wiki/CgiHowto
+ i. If you'd like to do cgi graphing, please note the following page: http://munin.projects.linpro.no/wiki/CgiHowto
For CentOS this is enabled in the default header config
+
+ j. Per default (on CentOS) munin will send warnings and critical messages to root
diff --git a/files/config/host/munin.conf.header.CentOS b/files/config/host/munin.conf.header.CentOS
index da05b5a..e252048 100644
--- a/files/config/host/munin.conf.header.CentOS
+++ b/files/config/host/munin.conf.header.CentOS
@@ -14,6 +14,8 @@ tmpldir /etc/munin/templates
# Make graphs show values per minute instead of per second
#graph_period minute
+graph_strategy cgi
+
# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
# something changes (OK -> WARNING, CRITICAL -> OK, etc)
#contact.someuser.command mail -s "Munin notification" somejuser@fnord.comm
@@ -23,7 +25,12 @@ tmpldir /etc/munin/templates
# the services must be defined in the Nagios server as well.
#contact.nagios.command /usr/sbin/send_nsca -H nagios.host.com -c /etc/send_nsca.cfg
-graph_strategy cgi
+contacts me
+contact.me.command mail -s "Munin notification ${var:group} :: ${var:host} :: ${var:graph_title}" root
+contact.me.always_send warning critical
+
+# disable tls as we don't yet have configured it
+tls disable
# a simple host tree
#[localhost]