library/roles/nagios/templates/common-nrpe.cfg.j2: Use the native check_raid plugin.

This commit is contained in:
Andrea Dell'Amico 2016-02-10 12:57:15 +01:00
parent 156084f3dd
commit e7955a7acb
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
--- ---
# The original check_linux_raid is often buggy # We do not use the check_linux_raid plugin anymore. Now the check_raid one is much better.
- name: Install some plugins that check hardware parts - name: Install some plugins that check hardware parts
copy: src={{ item }} dest={{ nagios_isti_plugdir }}/{{ item }} owner=root group=nagios mode=0750 copy: src={{ item }} dest={{ nagios_isti_plugdir }}/{{ item }} owner=root group=nagios mode=0750
with_items: with_items:

View File

@ -23,7 +23,8 @@ command[global_show_users]={{ nagios_isti_plugdir }}/show_users -a {{ nagios_all
command[global_check_system_pp]={{ nagios_isti_plugdir }}/check_system_pp command[global_check_system_pp]={{ nagios_isti_plugdir }}/check_system_pp
# Linux RAID check # Linux RAID check
command[global_check_linux_raid]={{ nagios_isti_plugdir }}/check_linux_raid #command[global_check_linux_raid]={{ nagios_isti_plugdir }}/check_linux_raid
command[global_check_linux_raid]={{ nagios_isti_plugdir }}/check_raid
# Disks S.M.A.R.T. check # Disks S.M.A.R.T. check
command[global_check_smart]={{ nagios_isti_plugdir }}/check_smart -d $ARG1$ -i $ARG2$ command[global_check_smart]={{ nagios_isti_plugdir }}/check_smart -d $ARG1$ -i $ARG2$