summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-mon.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-09-30 02:57:44 +0200
committerChristian Pointner <equinox@spreadspace.org>2021-09-30 02:57:44 +0200
commit4c706509f53aecdb897f5b8a532b17e0bc18943f (patch)
treec895a1279ad6bb7e78ba2cd3990c9faf7a5cfc70 /inventory/host_vars/ch-mon.yml
parentdust-off slim/raspbian role and install ch-raspi-ntp test host (diff)
add temporary test for radio helsinki
Diffstat (limited to 'inventory/host_vars/ch-mon.yml')
-rw-r--r--inventory/host_vars/ch-mon.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml
index 015a420d..8c353e88 100644
--- a/inventory/host_vars/ch-mon.yml
+++ b/inventory/host_vars/ch-mon.yml
@@ -103,6 +103,21 @@ prometheus_job_multitarget_ssl__probe:
target: "/etc/ssl/prometheus/**/*.pem"
module: file
+prometheus_server_jobs_extra: |
+ - job_name: 'node-helsinki'
+ static_configs:
+ - targets:
+ - 192.168.28.151:9100
+ labels:
+ instance: rh-router-apu
+ metric_relabel_configs:
+ - source_labels: [ "mountpoint" ]
+ regex: ".*/\\.snapshot/.*"
+ action: drop
+ - source_labels: [ "__name__", "state" ]
+ regex: "node_systemd_unit_state;(activating|deactivating|inactive)"
+ action: drop
+
promethues_alertmanager_smtp:
smarthost: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets['ch-prometheus-legacy']) | ipaddr('address') }}:25"