prometheus/handlers/main.yml

91 lines
2.2 KiB
YAML
Raw Normal View History

2021-05-26 12:01:00 +02:00
---
2022-11-11 20:53:21 +01:00
- name: 'prometheus | server | restart container'
2021-05-26 12:06:05 +02:00
docker_container:
name: prometheus
restart: yes
2021-05-26 12:18:45 +02:00
tags: ['prometheus']
2021-05-26 12:01:00 +02:00
2022-11-11 20:53:21 +01:00
- name: 'prometheus | node exporter | restart service'
2021-05-26 12:01:00 +02:00
systemd:
name: prometheus-node-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2022-11-11 20:53:21 +01:00
- name: 'prometheus | mysqld exporter | restart service'
2021-05-26 12:01:00 +02:00
systemd:
name: prometheus-mysqld-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2022-11-11 20:53:21 +01:00
- name: 'prometheus | mongodb exporter | restart service'
2021-05-26 12:01:00 +02:00
systemd:
name: prometheus-mongodb-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2022-11-11 20:53:21 +01:00
- name: 'prometheus | postgres exporter restart service'
2021-05-26 12:01:00 +02:00
systemd:
name: prometheus-postgres-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2022-11-11 20:53:21 +01:00
- name: 'prometheus | phpfpm exporter | restart service'
2021-10-05 16:52:47 +02:00
systemd:
name: prometheus-phpfpm-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2021-10-08 10:23:56 +02:00
2022-11-11 20:48:40 +01:00
- name: 'prometheus | opcache exporter | restart service'
2022-01-05 15:44:39 +01:00
systemd:
2022-01-05 16:00:23 +01:00
name: prometheus-opcache-exporter.service
2022-01-05 15:44:39 +01:00
state: restarted
enabled: yes
tags: ['prometheus']
2022-11-11 20:53:21 +01:00
- name: 'prometheus | apache exporter | restart service'
2021-10-08 10:23:56 +02:00
systemd:
name: prometheus-apache-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2021-10-08 15:22:59 +02:00
2022-11-11 20:53:21 +01:00
- name: 'prometheus | varnish exporter | restart service'
2021-10-08 15:22:59 +02:00
systemd:
name: prometheus-varnish-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2021-11-02 15:51:47 +01:00
- name: 'prometheus | blackbox exporter | restart service'
systemd:
name: prometheus-blackbox-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2021-11-19 12:30:22 +01:00
2022-11-11 20:53:21 +01:00
- name: 'prometheus | redis exporter | restart service'
2021-11-19 12:30:22 +01:00
systemd:
name: prometheus-redis-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2022-11-11 18:52:42 +01:00
2022-11-11 20:53:21 +01:00
- name: 'prometheus | memcached exporter | restart service'
2022-11-11 18:52:42 +01:00
systemd:
name: prometheus-memcached-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']
2023-01-27 17:02:39 +01:00
- name: 'prometheus | cloudflare exporter | restart service'
systemd:
name: prometheus-cloudflare-exporter.service
state: restarted
enabled: yes
tags: ['prometheus']