- template our nrpe.cfg

- setup vars for nrpe_procs_crit and nrpe_procs_warn
- set the value for crit and warn higher for mirrorlists to stop their whining
This commit is contained in:
Seth Vidal 2013-06-20 20:47:00 +00:00
parent 3575d0e55f
commit 5053d35c18
4 changed files with 9 additions and 4 deletions

View file

@ -35,14 +35,14 @@
# FIXME? figure out nrpe selinux policy of DOOM is needed
- name: /etc/nagios/nrpe.cfg
copy: src=$files/nagios/client/nrpe.cfg dest=/etc/nagios/nrpe.cfg
template: src=$files/nagios/client/nrpe.cfg dest=/etc/nagios/nrpe.cfg
notify:
- restart nrpe
tags:
- config
- name: install nrpe client configs
copy: src=$files/nagios/client/$item dest=/etc/nrpe.d/$item
template: src=$files/nagios/client/$item dest=/etc/nrpe.d/$item
with_items:
- check_mirrorlist_cache.cfg
- check_raid.cfg