Beacon to monitor disk usage.
2015.5.0 新版功能.
depends: | python-psutil |
---|
salt.beacons.diskusage.
beacon
(config)¶Monitor the disk usage of the minion
Specify thresholds for each disk and only emit a beacon if any of them are exceeded.
beacons:
diskusage:
- /: 63%
- /mnt/nfs: 50%
Windows drives must be quoted to avoid yaml syntax errors
beacons:
diskusage:
- interval: 120
- 'c:': 90%
- 'd:': 50%
salt.beacons.diskusage.
validate
(config)¶Validate the beacon configuration