grafana: Lösche influxdb-Monitoring

Influxdb wird mit dieser Rolle nicht installiert.
This commit is contained in:
phil 2022-12-28 16:46:43 +01:00
parent 3c2f8a6353
commit eef1930fa9
2 changed files with 2 additions and 14 deletions

View file

@ -1,9 +0,0 @@
# {{ ansible_managed }}
check process influxdb
matching "/usr/bin/influxd -config /etc/influxdb/influxdb.conf"
group database
start program = "/usr/sbin/service influxd start"
stop program = "/usr/sbin/service influxd stop"
if failed host localhost port 8088 with timeout 15 seconds for 3 times within 4 cycles then restart
if 5 restarts with 5 cycles then timeout

View file

@ -20,13 +20,10 @@
- name: "grafana | Aktiviere Monit-Ueberwachung"
ansible.builtin.copy:
src: "{{ item }}.monit"
dest: "/etc/monit/conf-enabled/{{ item }}"
src: "grafana.monit"
dest: "/etc/monit/conf-enabled/grafana"
mode: 0644
notify: reload monit
loop:
- grafana
- influxdb
- name: "grafana | fail2ban-Konfiguration kopieren"
ansible.builtin.copy: