Files
ansible/roles/apache_php/templates/etc_nagios_nrpe.d_check_php-fpm.cfg.j2
2025-10-10 11:07:34 +00:00

3 lines
276 B
Django/Jinja

# {{ ansible_managed }}
command[check_php-fpm]={{ nagios_nrpe_tools_dir }}/plugins/check_php-fpm -s /run/php/{{ apache_phpfpm_php }}-fpm.sock -w active_workers:{{ (apache_phpfpm_max_workers * 80 / 100)|int }} -c active_workers:{{ (apache_phpfpm_max_workers * 90 / 100)|int }}