Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.02 KB

File metadata and controls

47 lines (27 loc) · 1.02 KB

NAME

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

APPLICABLE SYSTEMS

PHP FPM installations, tested with PHP 7.0 FPM.

Requires the JSON perl module (apt-get install libjson-perl on Debian systems) and the cgi-fcgi tool (apt-get install libfcgi0ldbl on Debian systems).

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