postgres: Check age of certs on chankillo & roost-api
authorAlex Dehnert <alex@dehnerts.com>
Sun, 27 Apr 2025 04:13:55 +0000 (04:13 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Sun, 27 Apr 2025 04:13:55 +0000 (04:13 +0000)
local.d/adehnert-host.cfg

index d74218516cc8561dbe9172a132c2ebc000ae3e04..df814e091364f9d46d32ab91941e75e05e2f44e2 100644 (file)
@@ -119,3 +119,12 @@ define service {
     service_description SIGN-SSH
     check_command       check_byssh_service_failed!sign-ssh-keys
 }
+
+# Few-host checks
+
+define service {
+    use adehnert-service
+    host_name           chankillo,roost-api
+    service_description CERT-AGE
+    check_command       check_byssh_generic!check_file_age client-certs
+}