I'm using the resource monitoring tool Munin. (Version 1.4.6)
Today I've enabled the email alert function to receive a notification when a value is too high.
With munin it is possible to set two levels of alerting. (Warning or Critical)
I've configured the munin.conf file like this:
contact.scs.command mail -s "Munin notification ${var:host}" simon@domain.net
[varnish;server01.domain.net]
address server01.domain.net
use_node_name yes
cpu.iowait.warning 14
cpu.iowait.critical 17
cpu.contacts scs
When a performance value exceeds the defined maximum, a mail notification with the alert will be successfully send. :-)
Now to my Question:
Would it be possible to send a critical notification to a different mail address than the warning notification?
Unfortunately I couldn't find anything at web.
I've already tried this, but it didn't work for me:
contact.scs.command mail -s "Munin notification ${var:host}" simon@domain.net
contact.crit.command mail -s "Munin notification ${var:host}" critical@domain.net
[varnish;server01.domain.net]
address server01.domain.net
use_node_name yes
cpu.iowait.warning 14
cpu.iowait.critical 17
cpu.contacts scs
cpu.contacts.warning scs
cpu.contacts.critical crit
Thanks for help!