Ember+プラグイン
概要
設定パラメーターを使用すると、Ember+ プラグインの動作をカスタマイズできます。
これらは agent 2 の設定ファイルではなく、専用の設定ファイル(例: emberplus.conf)に指定することを推奨します。その後、Include ディレクティブを使用して、このファイルを Zabbix agent 2 の設定に含めます。
Ember+ プラグインはロード可能なプラグインであり、Ember+ plugin repository で利用可能で、詳細も記載されています。
このプラグインは現在、ソースからのみビルド可能です(Unix と Windows の両方)。
特にパラメーターが必須であると明記されていない限り、すべてのパラメーターは任意です。
注意:
- デフォルト値は、配布される設定ファイル内の値ではなく、プロセスのデフォルト値を反映しています。
- 値では環境変数を使用できます。
- Zabbix は、BOM を含まない UTF-8 エンコーディングの設定ファイルのみをサポートします。
\#で始まるコメントは、行頭でのみサポートされます。
Parameter details
Plugins.EmberPlus.Default.Uri
Specify the default URI for connecting to Ember+.
The only supported schema is tcp://. A schema can be omitted. Embedded credentials will be ignored.
Default: tcp://localhost:9998
Plugins.EmberPlus.KeepAlive
Set the maximum time of waiting (in seconds) before unused plugin connections are closed.
Default: 300
Range: 60-900
Plugins.EmberPlus.Sessions.<SessionName>.Uri
Specify the named session URI for connecting to Ember+.
The only supported schema is tcp://. A schema can be omitted. Embedded credentials will be ignored.
<SessionName> - define name of a session for using in item keys.
Default: tcp://localhost:9998
Plugins.EmberPlus.System.Path
Specify path to the Ember+ plugin executable.
Example: Plugins.EmberPlus.System.Path=/usr/libexec/zabbix/zabbix-agent2-plugin-ember-plus
Plugins.EmberPlus.Timeout
Set the duration, in seconds, to wait for a server to respond when first connecting and on follow-up operations in the session.
Default: global timeout
Range: 1-30
オプション
| Parameter | Description |
|---|---|
| -V --version | プラグインのバージョンとライセンス情報を表示します。 |
| -h --help | ヘルプ情報を表示します(省略形)。 |
| -t, --test <item key> | テスト用にプラグインを起動します(プラグイン設定は無視されます)。 |
パラメーター
| Parameter | Mandatory | Range | Default | Description |
|---|---|---|---|---|
| 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/libexec/zabbix/zabbix-agent2-plugin-ember-plus |
||
| Plugins.EmberPlus.Timeout | no | 1-30 | global timeout | 最初の接続時およびセッション内の後続操作時に、サーバーの応答を待機する時間(秒)。 |
関連項目:
- 一般的な Zabbix エージェント 2 の設定パラメーターの説明: Zabbix agent 2 (UNIX) / Zabbix agent 2 (Windows)
- プラグイン の設定手順