Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.11 KB

File metadata and controls

48 lines (28 loc) · 1.11 KB

NAME

phpfpm-multi - Munin multigraph plugin to monitor PHP FPM pools

APPLICABLE SYSTEMS

PHP FPM installations, tested with PHP 5.6, 7.0 and 7.2 FPM.

Requires the JSON perl module and the cgi-fcgi tool. On Debian systems install them using apt-get install libjson-perl libfcgi-bin (older systems don't have a libfcgi-bin package, install the libfcgi0ldbl package instead).

CONFIGURATION

The plugin needs to be able to read the different pool configuration files and needs access to the sockets. If root is the only user which has access to these resources, the following needs to be configured:

[phpfpm-multi]
user root

The path to the socket as well as the status URL will be fetched read from the configuration file.

In addition, the following variables can be defined:

env.pooldir (default: automatically discovered)

Directory containing the pool configuration files.

env.hide_pools (default: empty)

Comma-separated list of pools for which no statistics should be gathered.

AUTHOR

Oliver Hitz <oliver@net-track.ch>

LICENSE

GPL