From 0b856c1b38fb491316071e1f7113b3124094d2a9 Mon Sep 17 00:00:00 2001
From: Bengt Giger <bgiger@ethz.ch>
Date: Wed, 11 Dec 2024 15:14:13 +0100
Subject: [PATCH] Added user for Zabbix monitoring

---
 roles/queue/templates/config.json | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/roles/queue/templates/config.json b/roles/queue/templates/config.json
index c9171fd..e271586 100644
--- a/roles/queue/templates/config.json
+++ b/roles/queue/templates/config.json
@@ -19,6 +19,15 @@
       "hashing_algorithm": "rabbit_password_hashing_sha256",
       "tags": [],
       "limits": {}
+    },
+    {
+      "name": "zbx_monitor",
+      "password_hash": "8F8tRO2aYMcIMhtgMlZnQFKPZcZoZTxuCyJuZqBLrg4HFEoC",
+      "hashing_algorithm": "rabbit_password_hashing_sha256",
+      "tags": [
+        "monitoring"
+      ],
+      "limits": {}
     }
   ],
   "vhosts": [
@@ -43,6 +52,13 @@
       "configure": ".*",
       "write": ".*",
       "read": ".*"
+    },
+    {
+      "user": "zbx_monitor",
+      "vhost": "/",
+      "configure": "",
+      "write": "",
+      "read": ".*"
     }
   ],
   "topic_permissions": [],
-- 
GitLab