Removed redundant nagios checks

They are already installed by the base roles.
This commit is contained in:
Patrick Marchand 2019-12-04 11:11:48 -05:00 committed by Gitea
parent c39f63048c
commit 8778d69102
3 changed files with 0 additions and 14 deletions

View File

@ -4,11 +4,6 @@
name: munin-node
state: restarted
- name: restart nagios-nrpe-server
service:
name: nagios-nrpe-server
state: restarted
- name: restart mysql
service:
name: mysql

View File

@ -23,12 +23,6 @@
register: create_repl_user
when: mysql_repl_password | length > 0
- name: 'Add Nagios check for replication'
template:
src: 'replication_check.cfg.j2'
dest: '/etc/nagios/nrpe.d/replication.cfg'
notify: 'restart nagios-nrpe-server'
- name: 'Install xinetd'
apt:
name: 'xinetd'

View File

@ -1,3 +0,0 @@
# ansible managed
command[check_mysql_slave]=/usr/lib/nagios/plugins/check_mysql --check-slave -H localhost -f ~nagios/.my.cnf -w 1800 -c 3600