我已经安装了munin如何设置特定参数的警报

我在munin.conf中设置了警报

contacts user1 user2 user3 user4 contact.user1.command mail -s "Munin notification" [email protected] contact.user2.command mail -s "Munin notification" [email protected] contact.user3.command mail -s "Munin notification" [email protected] contact.user4.command mail -s "Munin notification" [email protected] contact.user1.always_send critical contact.user2.always_send warning critical contact.user3.always_send warning critical contact.user4.always_send critical 

但是,当任何参数达到警告或临界阈值时,这可能会向我发送通知。 有没有办法只为一组特定的参数设置警报,在我的情况下,我只想设置它:CPU利用率,内存利用率,负载平均和磁盘利用率

不幸的是,慕尼黑的文件对此没有提及。

您可以使用插件级别指令 contacts来禁止特定插件的通知。 从文档:

联系人:通过外部系统启用(通过命名联系人)或禁用(“否”)警告

他们有一个例子,在样本munin.conf

  df.contacts no # Don't warn (...) if the 'df' plugin exceed warning values.