5.14. collectd::plugin::df
使用 df 插件为文件系统收集磁盘空间使用情况信息。
此插件默认是启用的。
| Name | 描述 | 查询 |
|---|---|---|
| free | 可用磁盘空间 |
|
| 保留 | 保留磁盘空间量 |
|
| 使用的 | 已用磁盘空间量 |
|
| 参数 | 类型 | 默认值 |
|---|---|---|
| devices | Array |
|
| fstypes | Array |
|
| ignoreselected | 布尔值 | true |
| mountpoints | Array |
|
| reportbydevice | 布尔值 | true |
| reportinodes | 布尔值 | true |
| reportreserved | 布尔值 | true |
| valuesabsolute | 布尔值 | true |
| valuespercentage | 布尔值 | false |
配置示例:
parameter_defaults:
ExtraConfig:
collectd::plugin::df::fstypes: ['tmpfs','xfs']
parameter_defaults:
ExtraConfig:
collectd::plugin::df::fstypes: ['tmpfs','xfs']
其他资源
有关配置 df 插件的更多信息,请参阅 df。