Adding ucode & UPS definitions to IAC
This commit is contained in:
2
roles/Sharingan/files/monit/checks/cyberpower
Normal file
2
roles/Sharingan/files/monit/checks/cyberpower
Normal file
@@ -0,0 +1,2 @@
|
||||
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!"
|
Reference in New Issue
Block a user