From bf4d57b5cb1345459c6d57e62f4be0c2b102d24a Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Mon, 29 May 2023 10:22:41 -0500 Subject: [PATCH] frigate: Configure journal2ntfy for MD RAID The Frigate server has a RAID array that it uses to store video recordings. Since there have been a few occasions where the array has suddenly stopped functioning, probably because of the cheap SATA controller, it will be nice to get an alert as soon as the kernel detects the problem, so as to minimize data loss. --- group_vars/frigate/main.yml | 2 ++ hosts | 1 + 2 files changed, 3 insertions(+) diff --git a/group_vars/frigate/main.yml b/group_vars/frigate/main.yml index 08d2979..c0bb51e 100644 --- a/group_vars/frigate/main.yml +++ b/group_vars/frigate/main.yml @@ -7,3 +7,5 @@ frigate_mqtt: tls_ca_certs: /etc/ssl/certs/ca-certificates.crt frigate_shm_size: 256 + +journal2ntfy_filters: _TRANSPORT=kernel --grep ^md diff --git a/hosts b/hosts index c5d5423..877cc18 100644 --- a/hosts +++ b/hosts @@ -77,6 +77,7 @@ hass2.pyrocufflink.blue [journal2ntfy:children] burp-server +frigate [k8s-controller] k8s-ctrl0.pyrocufflink.blue