Munin contacts needs some work
I am using Munin to monitor and graph system parameters for our online machines at Gawab! Munin has a very flexible alerting system. lets look at how to setup alerting in the munin.conf file:
You 1st create a contact list like so:
contacts zein ramy sms-zeinThen you specify how to send an alert to each contact by specifying a command to use:
contact.zein.command mail -s "Munin notification ${var:host}" user@domain.com
The default is to get alerts when a state changes (ok – warning – critical) but you can state that you always want alerts for a specific state by:
contact.contact.always_send warning critical
or
contact.contact.always_send critical
What it lacks in my opinion is to send alerts only if a state changes to or from a certain state!
I would like to see something like:
contact.contact.send_change_to_from critical