[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ansible-taler-exchange] branch master updated: bind alertmanager to loo
From: |
Admin |
Subject: |
[ansible-taler-exchange] branch master updated: bind alertmanager to loopback-only |
Date: |
Tue, 03 Jun 2025 01:03:35 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository ansible-taler-exchange.
The following commit(s) were added to refs/heads/master by this push:
new 9301a4c bind alertmanager to loopback-only
9301a4c is described below
commit 9301a4c24f71a507469c364434fc52b3c910081a
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Jun 3 01:03:27 2025 +0200
bind alertmanager to loopback-only
---
roles/monitoring/files/etc/default/prometheus-alertmanager | 5 +++++
roles/monitoring/tasks/main.yml | 9 +++++++++
2 files changed, 14 insertions(+)
diff --git a/roles/monitoring/files/etc/default/prometheus-alertmanager
b/roles/monitoring/files/etc/default/prometheus-alertmanager
new file mode 100644
index 0000000..2c61f2e
--- /dev/null
+++ b/roles/monitoring/files/etc/default/prometheus-alertmanager
@@ -0,0 +1,5 @@
+# Set the command-line arguments to pass to the server.
+# Due to shell escaping, to pass backslashes for regexes, you need to double
+# them (\\d for \d). If running under systemd, you need to double them again
+# (\\\\d to mean \d), and escape newlines too.
+ARGS="--web.listen-address=127.0.0.1:9093
--cluster.listen-address=127.0.0.1:9094"
diff --git a/roles/monitoring/tasks/main.yml b/roles/monitoring/tasks/main.yml
index c7a4df5..0e24e6f 100644
--- a/roles/monitoring/tasks/main.yml
+++ b/roles/monitoring/tasks/main.yml
@@ -134,6 +134,15 @@
mode: "0644"
notify: Restart node-exporter
+- name: Configure node-exporter
+ copy:
+ src: etc/default/prometheus-alertmanager
+ dest: /etc/default/prometheus-alertmanager
+ owner: root
+ group: root
+ mode: "0644"
+ notify: Restart node-exporter
+
- name: Configure postgres-exporter
copy:
src: etc/default/prometheus-postgres-exporter
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ansible-taler-exchange] branch master updated: bind alertmanager to loopback-only,
Admin <=