monitoringctl: fixes
Some checks failed
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |0|0|0|0|:clap:
gitea/ansible-roles/pipeline/head There was a failure building this commit

This commit is contained in:
Jérémy Lecour 2024-09-10 17:14:51 +02:00 committed by Jérémy Lecour
parent 108286712c
commit 36c29f7f85
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY
2 changed files with 1 additions and 2 deletions

View file

@ -85,7 +85,6 @@
ansible.builtin.lineinfile:
path: /etc/nagios/nrpe.d/evolix.cfg
line: 'command[check_fluentd]={{ fluentd_monitoringctl_wrapper_cmd }}/usr/lib/nagios/plugins/check_tcp -p {{ fluentd_port }}'
when: not alerts_wrapper.stat.exists
notify: "restart nagios-nrpe-server"
tags:
- fluentd

View file

@ -52,7 +52,7 @@
ansible.builtin.lineinfile:
name: /etc/nagios/nrpe.d/evolix.cfg
regexp: '^command\[check_pgsql\]='
line: 'command[check_pgsql]={{ openvpn_monitoringctl_wrapper_cmd }}/usr/lib/nagios/plugins/check_pgsql -H localhost -l nrpe -p "{{ postgresql_nrpe_password.stdout }}"'
line: 'command[check_pgsql]={{ postgresql_monitoringctl_wrapper_cmd }}/usr/lib/nagios/plugins/check_pgsql -H localhost -l nrpe -p "{{ postgresql_nrpe_password.stdout }}"'
notify: restart nagios-nrpe-server
when:
- postgresql_create_nrpe_user is changed