Kapisi/roles/Sharingan/files/monit/checks/cyberpower

3 lines
186 B
Plaintext

check program cyberpower with path "/etc/monit.d/scripts/check-cyberpower"
if status != 0 for 5 times within 5 cycles then exec "/etc/monit.d/scripts/critical Host is on UPS power!"