summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/promzone-chaos-at-home/vars.yml2
-rw-r--r--inventory/host_vars/ch-iot.yml12
-rw-r--r--inventory/host_vars/ch-mon.yml2
3 files changed, 15 insertions, 1 deletions
diff --git a/inventory/group_vars/promzone-chaos-at-home/vars.yml b/inventory/group_vars/promzone-chaos-at-home/vars.yml
index 00f77749..bfbdf485 100644
--- a/inventory/group_vars/promzone-chaos-at-home/vars.yml
+++ b/inventory/group_vars/promzone-chaos-at-home/vars.yml
@@ -14,6 +14,7 @@ prometheus_exporter_smokeping_version: 0.7.1
prometheus_exporter_bind_version: 0.7.0
prometheus_exporter_chrony_version: 0.6.1+nodns
prometheus_exporter_chrony_disable_dns_lookups: yes
+prometheus_exporter_mosquitto_version: 0.7.2
prometheus_server_version: 2.48.1
prometheus_alertmanager_version: 0.26.0
@@ -34,6 +35,7 @@ prometheus_server_jobs:
- bind
- standalone-kubelet
- whawty-nginx-sso
+ - mosquitto
prometheus_zone_name: chaos@home
diff --git a/inventory/host_vars/ch-iot.yml b/inventory/host_vars/ch-iot.yml
index 1fb732d4..3772e9a6 100644
--- a/inventory/host_vars/ch-iot.yml
+++ b/inventory/host_vars/ch-iot.yml
@@ -55,7 +55,17 @@ spreadspace_apt_repo_components:
prometheus_exporters_extra:
- chrony
-# - mosquitto
+ - mosquitto
+
+prometheus_job_multitarget_blackbox__probe:
+ ch-mon:
+ - instance: "ssh-{{ inventory_hostname }}"
+ target: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
+ module: ssh_banner
+ - instance: "mqtt-mqtt.chaos-at-home.org"
+ target: "{{ network_zones.svc.prefix | ansible.utils.ipaddr(network_zones.svc.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:1883"
+ module: "tcp_tls_connect"
+ hostname: "mqtt.chaos-at-home.org"
managed_ca_authorities:
diff --git a/inventory/host_vars/ch-mon.yml b/inventory/host_vars/ch-mon.yml
index 4ede061a..7671b155 100644
--- a/inventory/host_vars/ch-mon.yml
+++ b/inventory/host_vars/ch-mon.yml
@@ -254,6 +254,8 @@ grafana_dashboards:
datasource: "Prometheus"
- file: whawty-nginx-sso
datasource: "Prometheus"
+ - file: mosquitto
+ datasource: "Prometheus"
grafana_admin_password: "{{ vault_grafana_admin_password }}"