About
PyMunin Munin Multigraph Monitoring Plugin for PHP FPM (FastCGI Process Manager)
The PHP FPM status page must be configured and it must be accesible through the web server.
| Multigraph Plugin: | Yes |
| Multi-instance Plugin: | Yes |
Graphs
The plugin implements the following graphs:
-
php_fpm_connections
-
php_fpm_processes
Configuration
Configuration variables are passed to the Munin Plugins using environment variables. The environment variables for plugins are usually set in the plugin configuration files in the folder: /etc/munin/plugin-conf.d
The configuration variables implemented by the plugin are listed in the following table:
| Variable | Description |
|---|---|
| host | Web Server Host. (Default: 127.0.0.1) |
| port | Web Server Port (Default: 80, SSL: 443) |
| user | User in case authentication is required for access to PHP FPM Status page. |
| password | Password in case authentication is required for access to PHP FPM Status page. |
| monpath | PHP FPM status page path relative to Document Root. (Default: fpm_status.php) |
| ssl | Use SSL if yes. (Default: no) |
| include_graphs | Comma separated list of enabled graphs. (All graphs enabled by default.) |
| exclude_graphs | Comma separated list of disabled graphs. |
Additionally the following configuration variables are implemented by the plugin for Multi Instance support:
| Variable | Description |
|---|---|
| instance_name | Name of instance. |
| instance_label | Graph title label for instance. (Default is the same as instance name.) |
| instance_label_format |
Controls how the instance label will be added to the graph title:
|
Credits
PHP FPM Plugin ( phpfpmstats ) has been developed by Ali Onur Uyar ([aouyar @ GitHub] (https://github.com/aouyar)).
License
PHP FPM Plugin ( phpfpmstats ) is copyrighted free software made available under the terms of the GPL License Version 3 or later.
See the file COPYING that acompanies the code for full licensing information.