Adding domain monitoring for TLSA/SSHFP/CAA records
This commit is contained in:
8
roles/Sharingan/files/monit/checks/domain
Normal file
8
roles/Sharingan/files/monit/checks/domain
Normal file
@@ -0,0 +1,8 @@
|
||||
check program domain-tlsa with path "/etc/monit.d/scripts/check-domain aninix.net tlsa aninix.net-0002"
|
||||
if status != 0 for 5 times within 5 cycles then exec "/etc/monit.d/scripts/critical TLSA records do not match -- regenerate and update"
|
||||
|
||||
check program domain-sshfp with path "/etc/monit.d/scripts/check-domain aninix.net sshfp"
|
||||
if status != 0 for 5 times within 5 cycles then exec "/etc/monit.d/scripts/critical SSHFP records do not match -- regenerate and update"
|
||||
|
||||
check program domain-caa with path "/etc/monit.d/scripts/check-domain aninix.net caa"
|
||||
if status != 0 for 5 times within 5 cycles then exec "/etc/monit.d/scripts/critical CAA record does not match -- regenerate and update"
|
||||
Reference in New Issue
Block a user