Closed deogracia closed 13 years ago
The name of the php-fpm binary changes on every distribution, which is why I made it an over-ridable variable. In your munin configuration, you can add
[phpfpm_*]
env.phpbin php-fpm
Thanks, I misundertood this line
PHP_BIN=${phpbin-"php5-fpm"}
It works.
:-)
Hi, On my Debian Lenny,the name returned by ps pour php5-fpm is "php-fpm".
Here's what I have va-1:/PHP5-FPM-Munin-Plugins# ps awwwux | grep php 1001 1896 0.8 0.4 453948 66960 ? S 11:49 0:47 php-fpm: pool www
I use php5-fpm 5.3.5-0.dotdeb.0 .
The solution is to change PHP_BIN=${phpbin-"php5-fpm"} to PHP_BIN=${phpbin-"php-fpm"}.