bots: Tweak what's monitored
authorAlex Dehnert <alex@dehnerts.com>
Mon, 9 Oct 2023 04:27:48 +0000 (04:27 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Mon, 9 Oct 2023 04:34:27 +0000 (04:34 +0000)
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.

local.d/bots.cfg

index b9389579b5e6dc616328ecdc732732508cc2e98d..0bd67a7e356a7fdcc4f7553d9852679ae5a8cfaa 100644 (file)
@@ -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
+}