SMARTプラグイン
概要
設定パラメータを使用すると、SMARTプラグインの動作をカスタマイズできます。
これらは、エージェント 2 の設定ファイルではなく、専用の設定ファイル(例: smart.conf)に指定することを推奨します。その後、Include ディレクティブを使用して、このファイルを Zabbix エージェント 2 の設定に含めます。
明示的に必須とされていない限り、すべてのパラメータは任意です。
次の点に注意してください。
- デフォルト値は、配布される設定ファイルの値ではなく、プロセスのデフォルト値を反映します。
- 値は環境変数をサポートします。
smartctl実行ファイルへのパスは、システムのPATH環境変数にそのディレクトリを追加するか、Plugins.Smart.Pathを設定して指定する必要があります。これは Linux と Windows の両方に適用されます。- Zabbix は、BOM なしの UTF-8 エンコーディングの設定ファイルのみをサポートします。
\#で始まるコメントは、行頭でのみサポートされます。
Parameter details
Plugins.Smart.Path
Specify path to the smartctl executable.
Default: smartctl
Plugins.Smart.Timeout
Set the request execution timeout (the duration, in seconds, to wait for a request to complete before shutting it down).
Default: global timeout
Range: 1-30
パラメータ
| Parameter | Mandatory | Range | Default | Description |
|---|---|---|---|---|
| Plugins.Smart.Path | no | smartctl | smartctl 実行ファイルへのパス。 | |
| Plugins.Smart.Timeout | no | 1-30 | global timeout | リクエスト実行のタイムアウト(リクエストが完了するまで待機してから終了するまでの秒数)。 |
関連項目:
- 一般的な Zabbix エージェント 2 の設定パラメータの説明: Zabbix agent 2 (UNIX) / Zabbix agent 2 (Windows)
- プラグイン の設定手順