On this page
14 SMART 插件
概述
本节列出了 SMART Zabbix agent 2 插件配置文件(smart.conf)中支持的参数。
请注意:
- 默认值反映的是进程默认值,而不是随附配置文件中的值;
- 值支持环境变量;
- 必须通过将
smartctl可执行文件所在目录添加到系统的PATH环境变量中,或通过配置Plugins.Smart.Path来设置其路径;这适用于 Linux 和 Windows; - Zabbix 仅支持 UTF-8 编码且不带 BOM 的配置文件;
- 以 "#" 开头的注释仅在行首支持。
参数
| Parameter | Mandatory | Range | Default | Description |
|---|---|---|---|---|
| Plugins.Smart.Path | no | smartctl | smartctl 可执行文件的路径。 | |
| Plugins.Smart.Timeout | no | 1-30 | global timeout | 请求执行超时(即在关闭请求之前等待其完成的时间,单位为秒)。 |
另请参见:
- Zabbix agent 2 通用配置参数说明: Zabbix agent 2 (UNIX) / Zabbix agent 2 (Windows)
- 配置 plugins 的说明