diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-12-20 18:47:22 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-12-20 18:47:22 +0100 |
commit | 31cce0e0219a77bfc68bfd6bc18b6e479aa3f99f (patch) | |
tree | 87a03d47223730f4b1f49ff0e4267e31ea12f197 /roles/monitoring/prometheus/exporter/mosquitto/handlers | |
parent | ch-iot: add mosquitto (diff) |
add monitoring for mosquitto
Diffstat (limited to 'roles/monitoring/prometheus/exporter/mosquitto/handlers')
-rw-r--r-- | roles/monitoring/prometheus/exporter/mosquitto/handlers/main.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/monitoring/prometheus/exporter/mosquitto/handlers/main.yml b/roles/monitoring/prometheus/exporter/mosquitto/handlers/main.yml new file mode 100644 index 00000000..27050bea --- /dev/null +++ b/roles/monitoring/prometheus/exporter/mosquitto/handlers/main.yml @@ -0,0 +1,10 @@ +--- +- name: restart prometheus-mosquitto-exporter + service: + name: prometheus-mosquitto-exporter + state: restarted + +- name: reload nginx + service: + name: nginx + state: reloaded |