i'm using resource monitoring tool munin. (version 1.4.6)
today i've enabled email alert function receive notification when value high.
with munin possible set 2 levels of alerting. (warning or critical)
i've configured munin.conf file 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 performance value exceeds defined maximum, mail notification alert send. :-)
now question:
would possible send critical notification different mail address warning notification?
unfortunately couldn't find @ web.
i've tried this, didn't work 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 help!
here's guess you. warning-only contacts:
contact.scs.command mail -s "munin notification ${var:host}" simon@domain.net contact.scs.always_send warning
for critical-only contacts:
contact.crit.command mail -s "munin notification ${var:host}" critical@domain.net contact.crit.always_send critical
for warning-and-critical contacts:
contact.other.command mail -s "munin notification ${var:host}" other@domain.net contact.other.always_send warning critical
Comments
Post a Comment