Superviser PHP-FPM avec Nagios ou Shinken - Le blog de NicoLargohttp://blog.nicolargo.com/2012/05/superviser-php-fpm-avec-nagios-ou-shinken.html
Superviser php fpm avec nagios.
3 indicateur d'alerte (en warning et critical)
- MIN_AVAILABLE_PROCESSES: Working with the number of available (Idle) and working process (Busy). Generating WARNING and CRITICAL if you do not have enough Idle processes.
--> check le metric idle processes
- PROC_MAX_REACHED: the fpm-status report will show us how many times the max processes were reached sinc start, this script will record how many time this happended since last check, letting you fix thresolds for alerts
--> check le metric max children reached
- QUEUE_MAX_REACHED: the php-fpm report will show us how many times the max queue was reached since start, this script will record how many time this happended since last check, letting you fix thresolds for alerts.
--> check le metric max listen queue