library/roles/nagios/templates/common-nrpe.cfg.j2: Use the check_raid plugin.
nemis-xen/group_vars/dom0-dell/main.yml: Special case for the Dell hardware when the distribution is debian.
This commit is contained in:
parent
ec797256b3
commit
97c76be1d3
|
@ -8,8 +8,7 @@
|
|||
- name: debian 6 has additional nagios plugins
|
||||
apt: pkg={{ item }} state=installed
|
||||
with_items: nagios_plugins_contrib
|
||||
when: is_debian6
|
||||
tags: nagios
|
||||
tags: [ 'nagios', 'nagios_plug_contrib' ]
|
||||
|
||||
- name: Create the directory where our local plugins are installed
|
||||
file: path={{ nagios_isti_plugdir }} state=directory
|
||||
|
|
|
@ -24,7 +24,11 @@ command[global_check_system_pp]={{ nagios_isti_plugdir }}/check_system_pp
|
|||
|
||||
# Linux RAID check
|
||||
#command[global_check_linux_raid]={{ nagios_isti_plugdir }}/check_linux_raid
|
||||
command[global_check_linux_raid]={{ nagios_isti_plugdir }}/check_raid
|
||||
{% if nagios_soft_raid_mdstat is defined and nagios_soft_raid_mdstat %}
|
||||
command[global_check_linux_raid]={{ nagios_plugins_dir }}/check_raid -p mdstat
|
||||
{% else %}
|
||||
command[global_check_linux_raid]={{ nagios_plugins_dir }}/check_raid
|
||||
{% endif %}
|
||||
|
||||
# Disks S.M.A.R.T. check
|
||||
command[global_check_smart]={{ nagios_isti_plugdir }}/check_smart -d $ARG1$ -i $ARG2$
|
||||
|
|
Loading…
Reference in New Issue