[comment]: # translation:outdated

[comment]: # ({29f37c12-931d97d5})
# 3 Ember+ 插件

[comment]: # ({/29f37c12-931d97d5})

[comment]: # ({e6049a71-38b6ee97})
#### 概述

本节列出了Zabbix agent 2的Ember插件配置文件(ember.conf)中所有支持的参数。
Ember插件是一个可加载插件，并在[Ember插件库](https://git.zabbix.com/projects/AP/repos/ember-plus/browse)中提供完整的描述。
此插件目前只能从源代码构建（适用于Unix和Windows）。

请注意：
-   默认值表示的是进程默认值，而不是附带的配置文件中的值；
-   Zabbix仅支持UTF-8编码格式的配置文件，不支持  [BOM](https://en.wikipedia.org/wiki/Byte_order_mark)；
-   只支持在行首以“#”开头来注释。

[comment]: # ({/e6049a71-38b6ee97})

[comment]: # ({new-eaba6cbf})

#### Options

|Parameter|Description|
|---------|-----------|
|-V --version|Print the plugin version and license information.|
|-h --help|Print help information (shorthand).|

[comment]: # ({/new-eaba6cbf})

[comment]: # ({a233d43e-836e31f8})
#### 参数
|参数|是否必须|范围|默认值|描述|
|--|--|--|--|----------|
|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://。模式可以省略。嵌入的凭据将被忽略<br>**<SessionName>** -定义会话的名称，以便在监控项中使用。|
|Plugins.EmberPlus.System.Path|no| | |Ember插件可执行文件的路径。<br>Example usage用法示例: `Plugins.EmberPlus.System.Path=/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-ember`|
|Plugins.EmberPlus.Timeout|no|1-30|全局超时时间|首次连接时以及会话中后续操作时等待服务器响应的时间。|

See also:

-   通用Zabbix agent 2配置参数说明:
    [Zabbix agent 2 (UNIX)](/manual/appendix/config/zabbix_agent2) /
    [Zabbix agent 2
    (Windows)](/manual/appendix/config/zabbix_agent2_win)
-   [plugins](/manual/extensions/plugins)  配置说明[插件](/manual/extensions/plugins)

[comment]: # ({/a233d43e-836e31f8})
