forked from ISTI-ansible-roles/ansible-roles
nagios_isti_plugdir renamed into nagios_local_plugdir.
This commit is contained in:
parent
6fab3bb2ef
commit
2f3b0add6d
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
- name: Install the haproxy NRPE nagios check
|
- name: Install the haproxy NRPE nagios check
|
||||||
copy: src=check_haproxy_stats dest={{ nagios_isti_plugdir }}/check_haproxy_stats owner=root group=root mode=0555
|
copy: src=check_haproxy_stats dest={{ nagios_local_plugdir }}/check_haproxy_stats owner=root group=root mode=0555
|
||||||
when: haproxy_nagios_check
|
when: haproxy_nagios_check
|
||||||
|
|
||||||
- name: Install the haproxy NRPE command configuration
|
- name: Install the haproxy NRPE command configuration
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Check the haproxy backends status
|
# Check the haproxy backends status
|
||||||
command[lb_check_bk_status]=/usr/bin/sudo {{ nagios_isti_plugdir }}/check_haproxy_stats -s {{ haproxy_admin_socket }} -w {{ haproxy_nagios_check_w }} -c {{ haproxy_nagios_check_c }}
|
command[lb_check_bk_status]=/usr/bin/sudo {{ nagios_local_plugdir }}/check_haproxy_stats -s {{ haproxy_admin_socket }} -w {{ haproxy_nagios_check_w }} -c {{ haproxy_nagios_check_c }}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
- check_tomcat
|
- check_tomcat
|
||||||
|
|
||||||
- name: Install the check_tomcat plugin
|
- name: Install the check_tomcat plugin
|
||||||
copy: src=check_tomcat dest={{ nagios_isti_plugdir }}/check_tomcat owner=root group=root mode=0755
|
copy: src=check_tomcat dest={{ nagios_local_plugdir }}/check_tomcat owner=root group=root mode=0755
|
||||||
tags:
|
tags:
|
||||||
- nagios
|
- nagios
|
||||||
- nrpe
|
- nrpe
|
||||||
|
|
Loading…
Reference in New Issue