=head1 NAME

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

=head1 APPLICABLE SYSTEMS

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

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

=head1 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:

=over

=item C<env.pooldir> (default: automatically discovered)

Directory containing the pool configuration files.

=item C<env.hide_pools> (default: empty)

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

=back

=head1 AUTHOR

Oliver Hitz <oliver@net-track.ch>

=head1 LICENSE

GPL

