summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ele-calypso.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-06-30 00:32:19 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-06-30 00:32:19 +0200
commit7220af6cefd8e066f9b55961f6f035480f520a09 (patch)
tree11f660aa745ebed88e2deaa7eeb9ea6f12885da0 /inventory/host_vars/ele-calypso.yml
parentrevamp prometheus metric lables for ipmi/remote and nut/ups (diff)
prometheus: incooporate multitarget labelding to elevate hosts as well
Diffstat (limited to 'inventory/host_vars/ele-calypso.yml')
-rw-r--r--inventory/host_vars/ele-calypso.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/inventory/host_vars/ele-calypso.yml b/inventory/host_vars/ele-calypso.yml
index 2f5648ac..75054533 100644
--- a/inventory/host_vars/ele-calypso.yml
+++ b/inventory/host_vars/ele-calypso.yml
@@ -122,7 +122,8 @@ prometheus_exporter_blackbox_modules_extra:
prometheus_job_multitarget_blackbox__probe:
ele-calypso:
- - instance: "ssh-{{ inventory_hostname }}"
+ - svc_kind: ssh
+ svc_instance: "{{ inventory_hostname }}"
target: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
module: ssh_banner
@@ -178,7 +179,7 @@ grafana_dashboards:
datasource: "Prometheus"
- file: chrony
datasource: "Prometheus"
- - file: blackbox
+ - file: blackbox/ssh
datasource: "Prometheus"
- file: network-ups-tools
datasource: "Prometheus"