nagios_isti_plugdir renamed into nagios_local_plugdir.

This commit is contained in:
Andrea Dell'Amico 2019-05-31 17:45:44 +02:00
parent 6fab3bb2ef
commit 2f3b0add6d
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
---
- 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
- name: Install the haproxy NRPE command configuration

View File

@ -1,4 +1,4 @@
# 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 }}

View File

@ -8,7 +8,7 @@
- check_tomcat
- 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:
- nagios
- nrpe