From e02cd493912e683dea47fc7479127fc20b9206ff Mon Sep 17 00:00:00 2001 From: bserie Date: Thu, 2 Feb 2017 09:33:55 +0100 Subject: [PATCH] Section notifications --- HowtoMunin.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/HowtoMunin.md b/HowtoMunin.md index 49ad0ed1..4ce2b785 100644 --- a/HowtoMunin.md +++ b/HowtoMunin.md @@ -140,6 +140,21 @@ ScriptAlias /munin-cgi/munin-cgi-graph /usr/lib/munin/cgi/munin-cgi-graph ~~~ +## Notifications + +Munin est capable d'envoyer des mails quand un plugin atteint son seuil de warning ou critical. Tout la configuration se fait dans `munin.conf`, on indique un mail de contact, et éventuellement on ajuste les seuils (ou on les définie) d'un ou plusieurs plugins. + +Exemple : + +~~~ +contact.someuser.command mail -s "Munin notification" foo@example.com + +[example.foo.bar] + address 127.0.0.1 + use_node_name yes + postfix_mailqueue.deferred.critical 200 +~~~ + ## Plugins Les plugins sont stockés dans `/usr/share/munin/plugins`.