This commit is contained in:
Michael Grote 2024-08-12 23:31:43 +02:00
parent 95d9272ff6
commit 0ffa8058a9
2 changed files with 1 additions and 2 deletions

View file

@ -31,8 +31,6 @@ munin_hosts:
address: "127.0.0.1"
extra: ["use_node_name yes"]
munin_mail_user: user
munin_mail_pass: geheim
munin_mail_server: mail.server.com
munin_mail_port: 25
munin_mail_tls: false

View file

@ -89,6 +89,7 @@ includedir /etc/munin/munin-conf.d
# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
# something changes (OK -> WARNING, CRITICAL -> OK, etc)
# test with: sudo -u munin /usr/share/munin/munin-limits --contact someuser --force
{% if munin_enable_alerts is sameas true %}
contact.someuser.command mail -aFROM:munin@mgrote.net -s "Munin ${var:worst}: ${var:group}::${var:host}::${var:plugin}" {{ munin_alerts_to }}
{% endif %}