dd
This commit is contained in:
parent
e6114dd7b7
commit
134ad55389
2 changed files with 2 additions and 2 deletions
|
@ -6,12 +6,12 @@ munin_packages:
|
||||||
- wget
|
- wget
|
||||||
- libapache2-mod-fcgid
|
- libapache2-mod-fcgid
|
||||||
- libcgi-fast-perl
|
- libcgi-fast-perl
|
||||||
- ssmtp
|
|
||||||
- perl
|
- perl
|
||||||
- mailutils
|
- mailutils
|
||||||
- curl
|
- curl
|
||||||
- tzdata
|
- tzdata
|
||||||
- munin-node
|
- munin-node
|
||||||
|
- s-nail
|
||||||
- libfile-readbackwards-perl
|
- libfile-readbackwards-perl
|
||||||
munin_servername: "{{ ansible_fqdn }}.mgrote.net"
|
munin_servername: "{{ ansible_fqdn }}.mgrote.net"
|
||||||
munin_dirs:
|
munin_dirs:
|
||||||
|
|
|
@ -91,7 +91,7 @@ html_strategy {{ munin_mode }}
|
||||||
# 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
|
# 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 s-nail --set=from='munin@mgrote.net' -s "Munin ${var:worst}: ${var:group}::${var:host}::${var:plugin}" {{ munin_alerts_to }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
#contact.anotheruser.command mail -s "Munin ${var:worst}: ${var:group}::${var:host}::${var:plugin}" anotheruser@blibb.comm
|
#contact.anotheruser.command mail -s "Munin ${var:worst}: ${var:group}::${var:host}::${var:plugin}" anotheruser@blibb.comm
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue