我如何设置munin插件multiping

时间:2012-01-31 00:37:52

标签: munin

根据插件:

The following environment variables are used

 ping_args  - Arguments to ping (default "-c 2")
 ping_args2 - Arguments after the host name (required for Solaris)
 ping       - Ping program to use
 host       - Host to ping

Configuration example

 [multiping]
  env.host www.example.org mail.example.org

我在哪里指定[multiping]

1 个答案:

答案 0 :(得分:6)

您应该将此配置写入位于

中的新文件

/etc/munin/plugin-conf.d

或在文件末尾添加这两行

/etc/munin/plugin-conf.d/munin-node