dd
This commit is contained in:
parent
95d9272ff6
commit
0ffa8058a9
2 changed files with 1 additions and 2 deletions
|
@ -31,8 +31,6 @@ munin_hosts:
|
||||||
address: "127.0.0.1"
|
address: "127.0.0.1"
|
||||||
extra: ["use_node_name yes"]
|
extra: ["use_node_name yes"]
|
||||||
|
|
||||||
munin_mail_user: user
|
|
||||||
munin_mail_pass: geheim
|
|
||||||
munin_mail_server: mail.server.com
|
munin_mail_server: mail.server.com
|
||||||
munin_mail_port: 25
|
munin_mail_port: 25
|
||||||
munin_mail_tls: false
|
munin_mail_tls: false
|
||||||
|
|
|
@ -89,6 +89,7 @@ includedir /etc/munin/munin-conf.d
|
||||||
|
|
||||||
# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
|
# Drop somejuser@fnord.comm and anotheruser@blibb.comm an email everytime
|
||||||
# something changes (OK -> WARNING, CRITICAL -> OK, etc)
|
# 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 %}
|
{% 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 }}
|
contact.someuser.command mail -aFROM:munin@mgrote.net -s "Munin ${var:worst}: ${var:group}::${var:host}::${var:plugin}" {{ munin_alerts_to }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue