Munin
Munin internal alerting system
Munin graphs are nice; but if you don't want to check them every morning for suspiciously high network traffic or critical disk usage, you would probably want munin to send you an alert if it finds an "unusual" value. Munin has a very basic alerting system built-in. Imagine your email adress is yann@foo.com, and you want to receive a mail if the load on serverA goes over 3, and another mail if it reaches the critical value 5. You also want chris, chris@foo.com, to be notified.
In /etc/munin/munin.conf, add the following line (usually over the part defining the nodes to monitor) :
contact.yann.command mail −s "Munin notification" yann@foo.com contact.chris.command mail −s "Munin notification" chris@foo.comThen, in the part describing serverA:
[domain;serverA] address aaa.aaa.aaa.aaa use_node_name yes load.warning 3 load.critical 5 contacts yann chris
引用するとずれるなぁ

