这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.
Table of Contents

3 Ember+ 插件

概述

本节列出了在 Ember+ Zabbix agent 2 插件配置 file(ember.conf)中支持的参数。

Ember+ 插件是一个可加载插件,在 Ember+ plugin repository 中提供并有完整描述。

目前,该插件只能从源代码构建(适用于 Unix 和 Windows)。

请注意:

  • 默认值反映的是进程默认值,而不是随附配置文件中的值;
  • Zabbix 仅支持使用 UTF-8 编码且不带 BOM 的配置文件;
  • 以 "#" 开头的注释仅支持位于行首。

Options

Parameter Description
-V --version Print the plugin version and license information.
-h --help Print help information (shorthand).
-t, --test <item key> Launch plugin for testing (plugin config ignored).

参数

参数 必填 范围 默认值 说明
Plugins.EmberPlus.Default.Uri no tcp://localhost:9998 默认连接 URI。唯一支持的模式是 tcp://。模式可以省略。嵌入的凭据将被忽略。
Plugins.EmberPlus.KeepAlive no 60-900 300 在未使用的插件连接关闭之前等待的最大时间(以秒为单位)。
Plugins.EmberPlus.Sessions.<SessionName>.Uri no tcp://localhost:9998 指定会话的连接 URI。唯一支持的模式是 tcp://。模式可以省略。嵌入的凭据将被忽略。
<SessionName> - 定义用于 监控项 键中的会话名称。
Plugins.EmberPlus.System.Path no Ember+ 插件可执行文件的路径。
使用示例: Plugins.EmberPlus.System.Path=/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-ember
Plugins.EmberPlus.Timeout no 1-30 global timeout 首次连接以及会话中的后续操作时,等待服务器响应的持续时间(以秒为单位)。

另请参阅: