b1eed9b305
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
8 lines
361 B
Plaintext
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"
|