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

3 lines
186 B
Plaintext
Raw Normal View History

2023-12-21 12:58:32 -06:00
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!"