Initial alarm adapter implementation
[ric-plt/alarm-go.git] / config / config-file.json
diff --git a/config/config-file.json b/config/config-file.json
new file mode 100755 (executable)
index 0000000..ffee9e9
--- /dev/null
@@ -0,0 +1,36 @@
+{
+    "local": {
+        "host": ":8080"
+    },
+    "logger": {
+        "level": 4
+    },
+    "db": {
+        "namespaces": ["sdl", "rnib"]
+    },
+    "rmr": {
+        "protPort": "tcp:4560",
+        "maxSize": 1024,
+        "numWorkers": 1
+    },
+    "promAlertManager": {
+        "address": "localhost:9093",
+        "baseUrl": "/api/v2",
+        "schemes": "http",
+        "alertInterval": 30000
+    },
+    "alarmDefinitions": [
+        {
+            "specificProblem": 1234,
+            "Text": "Connection to DBAAS server lost"
+        },
+        {
+            "specificProblem": 1235,
+            "Text": "Distribution of internal routing table failed due to timeout"
+        },
+        {
+            "specificProblem": 1236,
+            "Text": "E2 connection to gNB lost"
+        }
+    ]
+}