roost-api: Add check for HTTPS service
authorAlex Dehnert <alex@dehnerts.com>
Thu, 29 Apr 2021 00:21:34 +0000 (20:21 -0400)
committerAlex Dehnert <alex@dehnerts.com>
Thu, 29 Apr 2021 00:21:34 +0000 (20:21 -0400)
local.d/roost-api.cfg

index 5f603d1c8de53dae88ef5aca1cab6c2cbf4e5059..2fa164ad5e74ca49a74b7bd4d7d4155274934806 100644 (file)
@@ -17,3 +17,12 @@ define service {
     service_description RUN-ROOST-NG
     check_command       check_byssh_service!roost-ng.service
 }
+
+define service {
+       name roost-api-https
+       use adehnert-service
+       service_description HTTPS
+       check_command check_https_hostname
+       __check_cert_expiry_days 10
+       host_name roost-api
+}