From: Alex Dehnert Date: Mon, 9 Oct 2023 04:27:48 +0000 (+0000) Subject: bots: Tweak what's monitored X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=5609f684e2df9e7305d8afa8a3751135fa920310;p=sysconfig%2Fnagios3.git bots: Tweak what's monitored I reinstalled bots, and it prompted me to look closer at monitoring of it. Some old services no longer work (in some cases I think because Hangouts is shut down ish, in others perhaps the migration didn't work well), so disable notifications of those. I've also added some new services, so monitor them. --- diff --git a/local.d/bots.cfg b/local.d/bots.cfg index b938957..0bd67a7 100644 --- a/local.d/bots.cfg +++ b/local.d/bots.cfg @@ -9,6 +9,7 @@ define service { host_name bots service_description RUN-BRIDGE check_command check_byssh_service!bridge-zulip-hangouts.service + notifications_enabled 0 } define service { @@ -16,6 +17,7 @@ define service { host_name bots service_description RUN-CHIRON-HANGOUTS check_command check_byssh_service!chiron-hangouts.service + notifications_enabled 0 } define service { @@ -30,6 +32,7 @@ define service { host_name bots service_description RUN-FORMATIONBOT-HANGOUTS check_command check_byssh_service!formationbot-hangouts.service + notifications_enabled 0 } define service { @@ -38,3 +41,24 @@ define service { service_description RUN-FORMATIONBOT-ZULIP check_command check_byssh_service!formationbot-zulip.service } + +define service { + use adehnert-service + host_name bots + service_description RUN-FORMATIONBOT-DISCORD + check_command check_byssh_service!formationbot-discord.service +} + +define service { + use adehnert-service + host_name bots + service_description RUN-DISCORD-ZULIP + check_command check_byssh_service!discord-zulip.service +} + +define service { + use adehnert-service + host_name bots + service_description RUN-DISCORD-INVITE-ROLE + check_command check_byssh_service!discord-invite-role.service +}