On this page
3 Ember+ 插件
概述
Zabbix agent 2 的配置文件用于配置插件。以下 Zabbix agent 2 配置参数支持用于运行 Ember+ 插件。
建议将它们指定在各自的配置文件中(例如 emberplus.conf),然后使用 Include 指令将该文件添加到 Zabbix agent 2 配置中。
Ember+ 插件是一个可加载插件,可在 Ember+ 插件仓库 中获取并查看完整说明。
该插件目前只能从源代码构建(适用于 Unix 和 Windows)。
请注意:
选项
| Parameter | Description |
|---|---|
| -V --version | 打印插件版本和许可证信息。 |
| -h --help | 打印帮助信息(简写)。 |
| -t, --test <item key> | 启动插件进行测试(忽略插件配置)。 |
参数
| Parameter | Mandatory | Range | Default | Description |
|---|---|---|---|---|
| Plugins.EmberPlus.Default.Uri | no | tcp://localhost:9998 | 用于连接的默认 URI。唯一支持的 schema 是 tcp://。可以省略 schema。嵌入的凭据将被忽略。 |
|
| Plugins.EmberPlus.KeepAlive | no | 60-900 | 300 | 在关闭未使用的插件连接之前等待的最长时间(秒)。 |
| Plugins.EmberPlus.Sessions.<SessionName>.Uri | no | tcp://localhost:9998 | 用于连接指定会话的 URI。唯一支持的 schema 是 tcp://。可以省略 schema。嵌入的凭据将被忽略。<SessionName> - 定义一个会话名称,用于监控项键值中。 |
|
| Plugins.EmberPlus.System.Path | no | Ember+ 插件可执行文件的路径。 示例用法: Plugins.EmberPlus.System.Path=/usr/libexec/zabbix/zabbix-agent2-plugin-ember-plus |
||
| Plugins.EmberPlus.Timeout | no | 1-30 | global timeout | 首次连接以及会话中的后续操作时,等待服务器响应的时长(秒)。 |
另请参见:
- Zabbix agent 2 常规配置参数说明:Zabbix agent 2 (UNIX) / Zabbix agent 2 (Windows)
- plugins 配置说明