fuel-library/files/fuel-notify/monit-free-space.conf
Vladimir Kuklin b1eed9b305 Move free disk space checker to package
Adds fuel upgrade config for monitd by putting
Puppet resources into nailgun::host.

New package fuel-notify adds configuration for
monitd and a default config for the application.

Change-Id: I4a5e63b64e7a6d662ebd1e0387c6a84d601b0ca5
Related-Bug: #1371757
2015-05-16 13:53:54 +03:00

8 lines
361 B
Plaintext

check filesystem rootfs with path /
if space usage > 90% then exec "/usr/bin/fuel_notify.py ERROR /"
if space usage < 90% then exec "/usr/bin/fuel_notify.py SUCCESS /"
check filesystem varfs with path /var
if space usage > 90% then exec "/usr/bin/fuel_notify.py ERROR /var"
if space usage < 90% then exec "/usr/bin/fuel_notify.py SUCCESS /var"