monitoringctl: fixes
This commit is contained in:
parent
108286712c
commit
36c29f7f85
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue