From: Alex Dehnert Date: Wed, 24 Apr 2024 06:19:46 +0000 (+0000) Subject: zulip: Start monitoring it X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=57b2ce1a83d5f80a265788ed4efffc2b80b3f3ed;p=sysconfig%2Fnagios3.git zulip: Start monitoring it We don't have much in the way of service-specific checks, but at least we can make sure it's doing HTTPS and check for rate-limiting since that has come up. Upstream Zulip has a bunch of stuff -- https://zulip.readthedocs.io/en/latest/production/troubleshooting.html#monitoring -- that I should look into borrowing from eventually. --- diff --git a/local.d/zulip.cfg b/local.d/zulip.cfg new file mode 100644 index 0000000..d6b0eff --- /dev/null +++ b/local.d/zulip.cfg @@ -0,0 +1,30 @@ +define host { + use adehnert-host ; Name of host template to use + host_name zulip + address zulip.augsburg.vms.dehnerts.com +} + +define service { + use adehnert-service + host_name zulip + service_description RUN-NGINX + check_command check_byssh_service!nginx.service +} + +define service { + use adehnert-service + host_name zulip + service_description ZULIP-RATELIMIT + check_command check_byssh_generic!check_zulip_ratelimit + # Alerts will include a username, so don't send publicly + contact_groups adehnert-priv +} + +define service { + use adehnert-service + host_name zulip + name zulip-https + service_description HTTPS + check_command check_https_hostname!-H zulip.dehnerts.com + __check_cert_expiry_days 10 +}