{"id":41155191,"url":"https://github.com/lsgalves/zabbix-agent2-plugin-phpfpm","last_synced_at":"2026-01-22T19:12:54.686Z","repository":{"id":217328125,"uuid":"743250108","full_name":"lsgalves/zabbix-agent2-plugin-phpfpm","owner":"lsgalves","description":"Zabbix PHP-FPM loadable plugin.","archived":false,"fork":false,"pushed_at":"2024-04-26T09:57:58.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T08:12:06.376Z","etag":null,"topics":["golang","monitoring","php-fpm","zabbix","zabbix-agent2","zabbix-agent2-plugin"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lsgalves.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-14T19:17:49.000Z","updated_at":"2024-04-26T09:58:02.000Z","dependencies_parsed_at":"2024-01-21T23:35:00.973Z","dependency_job_id":"90d63c50-47d0-442c-8c3f-1e6899b50788","html_url":"https://github.com/lsgalves/zabbix-agent2-plugin-phpfpm","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"9c58c35cf26f0cda405c40b4e5b3adc4a550c625"},"previous_names":["lsgalves/zabbix-agent2-plugin-phpfpm"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lsgalves/zabbix-agent2-plugin-phpfpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgalves%2Fzabbix-agent2-plugin-phpfpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgalves%2Fzabbix-agent2-plugin-phpfpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgalves%2Fzabbix-agent2-plugin-phpfpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgalves%2Fzabbix-agent2-plugin-phpfpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsgalves","download_url":"https://codeload.github.com/lsgalves/zabbix-agent2-plugin-phpfpm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsgalves%2Fzabbix-agent2-plugin-phpfpm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28669088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","monitoring","php-fpm","zabbix","zabbix-agent2","zabbix-agent2-plugin"],"created_at":"2026-01-22T19:11:41.724Z","updated_at":"2026-01-22T19:12:54.675Z","avatar_url":"https://github.com/lsgalves.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zabbix PHP-FPM plugin\nThis plugin provides a native solution for monitoring multiples PHP-FPM pools without needing a web server.\n\n## Requirements\n- Zabbix Agent 2\n- Go \u003e= 1.20 (required only to build from source)\n\n### Template\nImport the [PHP-FPM to Multi Pool template](./template_php-fpm_to_multi_pool.yml).\n\n## Installation\n*Plugins.PHPFPM.System.Path* variable needs to be set in Zabbix agent 2 configuration file with the path to the\nPHP-FPM plugin executable. By default the variable is set in **plugin** configuration file *phpfpm.conf* and then\nincluded in the **agent** configuration file *zabbix_agent2.conf*.\n\nE.g:\nYou should add the following option to the **plugin** configuration file:\n\n    Plugins.PHPFPM.System.Path=/path/to/executable/phpfpm\n\nThen the config file needs to be included in the main Zabbix agent 2 config file via the *Include* command.\n\nE.g:\nYou should add the following option to the **plugin** configuration file:\n\n    Include=/path/to/config/phpfpm.conf\n\n## PHP-FPM pools config\n\nEnsure that lines from all active PHP-FPM pools are uncommented:\n\n```conf\npm.status_path = /status\nping.path = /ping\n```\n\nAnd that the Zabbix user has access to the php-fpm socket, for this you can add the zabbix user to `listen.acl_users`.\nFinally, reload php-fpm config: `systemctl reload php-fpm`.\n\n## Options\nPHP-FPM plugin can be executed on its own with these parameters:\n* *-h*, *--help* displays help message\n* *-V*, *--version* displays the plugin version and license information\n\n## Configuration\nThe Zabbix Agent's configuration file is used to configure plugins.\n\n**Plugins.PHPFPM.Timeout** — The maximum time in seconds for waiting when a connection has to be established.  \n*Default value:* equals the global Timeout configuration parameter.  \n*Limits:* 1-30\n\n## Supported keys\n**phpfpm.pool_status[\\\u003cPool\\\u003e]** — returns returns status for a given pool.\n*Parameters:*\nPool (required) — a pool name.\n\n**phpfpm.pool_ping[\\\u003cPool\\\u003e]** — pings to php-fpm pool and returns 0 or 1.\n*Parameters:*\nPool (required) — a pool name.\n*Returns:*\n- \"1\" if the pool is alive;\n- \"0\" if the pool is broken (is returned if there is any error during the test, or the response is not \"pong\").\n\n**phpfpm.pools[]** — returns the php-fpm pools for all php-fpm running.\n\n**phpfpm.pool.discovery[]** — returns a list of pools, used in low-level discovery rules.\n\n## Troubleshooting\nThe plugin uses log output of Zabbix agent 2. You can increase debugging level of Zabbix agent 2 if you need more details about the current situation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsgalves%2Fzabbix-agent2-plugin-phpfpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsgalves%2Fzabbix-agent2-plugin-phpfpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsgalves%2Fzabbix-agent2-plugin-phpfpm/lists"}