Update for automated response around poorly behaving archlinux-keyring weekly timer; rename Sora role to Password
This commit is contained in:
3
roles/Sharingan/files/monit/checks/automated_response
Normal file
3
roles/Sharingan/files/monit/checks/automated_response
Normal file
@@ -0,0 +1,3 @@
|
||||
check program check_archlinux_wkd with path "/usr/bin/systemctl is-failed archlinux-keyring-wkd-sync.service"
|
||||
if status == 0 for 1 times within 5 cycles then exec "/usr/bin/systemctl reset-failed archlinux-keyring-wkd-sync.service"
|
||||
if status == 0 for 5 times within 5 cycles then exec "/etc/monit.d/scripts/critical CRITICAL: Archlinux Keyring WKD Sync has failed and automated remediation has not solved it."
|
@@ -1 +1,2 @@
|
||||
include "/etc/monit.d/checks/system"
|
||||
include "/etc/monit.d/checks/automated_response"
|
||||
|
@@ -1 +1,2 @@
|
||||
include "/etc/monit.d/checks/system"
|
||||
include "/etc/monit.d/checks/automated_response"
|
||||
|
1
roles/Sharingan/files/monit/hostdefs/Nodelet0
Normal file
1
roles/Sharingan/files/monit/hostdefs/Nodelet0
Normal file
@@ -0,0 +1 @@
|
||||
include "/etc/monit.d/checks/system"
|
1
roles/Sharingan/files/monit/hostdefs/Nodelet1
Normal file
1
roles/Sharingan/files/monit/hostdefs/Nodelet1
Normal file
@@ -0,0 +1 @@
|
||||
include "/etc/monit.d/checks/system"
|
1
roles/Sharingan/files/monit/hostdefs/Nodelet2
Normal file
1
roles/Sharingan/files/monit/hostdefs/Nodelet2
Normal file
@@ -0,0 +1 @@
|
||||
include "/etc/monit.d/checks/system"
|
1
roles/Sharingan/files/monit/hostdefs/Nodelet3
Normal file
1
roles/Sharingan/files/monit/hostdefs/Nodelet3
Normal file
@@ -0,0 +1 @@
|
||||
include "/etc/monit.d/checks/system"
|
1
roles/Sharingan/files/monit/hostdefs/Nodelet4
Normal file
1
roles/Sharingan/files/monit/hostdefs/Nodelet4
Normal file
@@ -0,0 +1 @@
|
||||
include "/etc/monit.d/checks/system"
|
@@ -1,3 +1,4 @@
|
||||
include "/etc/monit.d/checks/system"
|
||||
include "/etc/monit.d/checks/vips"
|
||||
include "/etc/monit.d/checks/availability"
|
||||
include "/etc/monit.d/checks/automated_response"
|
||||
|
@@ -2,3 +2,4 @@ include "/etc/monit.d/checks/system"
|
||||
include "/etc/monit.d/checks/watcher-of-watchers"
|
||||
include "/etc/monit.d/checks/warrant-canary"
|
||||
include "/etc/monit.d/checks/grimoire"
|
||||
include "/etc/monit.d/checks/automated_response"
|
||||
|
Reference in New Issue
Block a user