diff --git a/templates/nrpe.cfg.j2 b/templates/nrpe.cfg.j2 index c4ae4f8e7d968830985c9565780e36c10f7b6582..7e99292189008eaad10b15f9e231791251849d01 100644 --- a/templates/nrpe.cfg.j2 +++ b/templates/nrpe.cfg.j2 @@ -23,6 +23,9 @@ command[check_raid_{{ device }}]=/usr/lib/nagios/custom-plugins/check_mdstat.sh {% endif %} command[check_load]=/usr/lib/nagios/plugins/check_load -r -w .85,.80,.75 -c .99,.95,.90 command[check_mem]=/usr/lib/nagios/custom-plugins/check_mem.pl -f -C -w 20 -c 5 +command[check_psi_cpu]=/usr/lib/nagios/custom-plugins/check_psi.py --ressource cpu --metric some --warning 'some:20,10,10,5' --critical 'some:40,30,20,10' +command[check_psi_io]=/usr/lib/nagios/custom-plugins/check_psi.py --ressource io --metric some,full --warning 'some:25,20,15,10;full:20,15,10,5' --critical 'some:50,40,30,20;full:40,30,20,10' +command[check_psi_memory]=/usr/lib/nagios/custom-plugins/check_psi.py --ressource memory --metric some,full --warning 'some:25,20,15,10;full:20,15,10,5' --critical 'some:50,40,30,20;full:40,30,20,10' {% if inventory_hostname in groups.docker | default([]) %} command[check_total_procs]=/usr/lib/nagios/plugins/check_procs -w {{ ((group_names | length - 6) * 20 + 370) | int | abs }} -c {{ ((group_names | length - 6) * 20 + 410) | int | abs }} {% else %}