{"id":28913764,"url":"https://github.com/thystips/ansible-role-php_fpm_exporter","last_synced_at":"2026-02-14T16:05:13.086Z","repository":{"id":244397872,"uuid":"815084680","full_name":"thystips/ansible-role-php_fpm_exporter","owner":"thystips","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-14T12:26:50.000Z","size":14,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-14T05:28:55.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thystips.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-06-14T10:14:05.000Z","updated_at":"2024-06-14T12:26:54.000Z","dependencies_parsed_at":"2024-06-14T13:38:58.214Z","dependency_job_id":"243ac5a3-4060-48f0-bb51-304fc8328968","html_url":"https://github.com/thystips/ansible-role-php_fpm_exporter","commit_stats":null,"previous_names":["thystips/ansible-role-php_fpm_exporter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/thystips/ansible-role-php_fpm_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-php_fpm_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-php_fpm_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-php_fpm_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-php_fpm_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thystips","download_url":"https://codeload.github.com/thystips/ansible-role-php_fpm_exporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thystips%2Fansible-role-php_fpm_exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29449018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"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":[],"created_at":"2025-06-21T21:10:17.536Z","updated_at":"2026-02-14T16:05:13.073Z","avatar_url":"https://github.com/thystips.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# thystips.php_fpm_exporter\n\n[![Maintainer](https://img.shields.io/badge/maintained%20by-thystips-e00000?style=flat-square)](https://github.com/thystips)\n[![License](https://img.shields.io/github/license/thystips/ansible-role-php_fpm_exporter?style=flat-square)](https://github.com/thystips/ansible-role-php_fpm_exporter/blob/main/LICENSE)\n[![Release](https://img.shields.io/github/v/release/thystips/ansible-role-php_fpm_exporter?style=flat-square)](https://github.com/thystips/ansible-role-php_fpm_exporter/releases)\n[![Status](https://img.shields.io/github/workflow/status/thystips/ansible-role-php_fpm_exporter/Ansible%20Molecule?style=flat-square\u0026label=tests)](https://github.com/thystips/ansible-role-php_fpm_exporter/actions?query=workflow%3A%22Ansible+Molecule%22)\n[![Ansible Galaxy](https://img.shields.io/badge/ansible-galaxy-black.svg?style=flat-square\u0026logo=ansible)](https://galaxy.ansible.com/thystips/php_fpm_exporter)[![Ansible version](https://img.shields.io/badge/ansible-%3E%3D2.10-black.svg?style=flat-square\u0026logo=ansible)](https://github.com/ansible/ansible)\n\n⭐ Star us on GitHub — it motivates us a lot!\n\nInstall php-fpm prometheus exporter\n\n**Platforms Supported**:\n\n| Platform | Versions |\n|----------|----------|\n| EL | all |\n| Amazon | all |\n| Debian | all |\n| Ubuntu | all |\n\n## ⚠️ Requirements\n\nAnsible \u003e= 2.1.\n\n### Ansible role dependencies\n\nNone.\n\n## ⚡ Installation\n\n### Install with Ansible Galaxy\n\n```shell\nansible-galaxy install thystips.php_fpm_exporter\n```\n\n### Install with git\n\nIf you do not want a global installation, clone it into your `roles_path`.\n\n```bash\ngit clone https://github.com/thystips/ansible-role-php_fpm_exporter thystips.php_fpm_exporter\n```\n\nBut I often add it as a submodule in a given `playbook_dir` repository.\n\n```bash\ngit submodule add https://github.com/thystips/ansible-role-php_fpm_exporter roles/thystips.php_fpm_exporter\n```\n\nAs the role is not managed by Ansible Galaxy, you do not have to specify the\ngithub user account.\n\n### ✏️ Example Playbook\n\nBasic usage is:\n\n```yaml\n- hosts: all\n  roles:\n    - role: thystips.php_fpm_exporter\n      vars:\n        php_fpm_additional_args: []\n        php_fpm_exporter_after_services: network-online.target\n        php_fpm_exporter_default_template: default/php-fpm_exporter.j2\n        php_fpm_exporter_download_url: https://github.com/{{ php_fpm_exporter_github_repo\n          }}/releases/download/v{{ php_fpm_exporter_version }}/php-fpm_exporter_{{ php_fpm_exporter_version\n          }}_linux_{{ __architecture }}\n        php_fpm_exporter_force_reinstall: false\n        php_fpm_exporter_install_dir: /usr/local/bin\n        php_fpm_exporter_service_template: systemd/php-fpm_exporter.service.j2\n        php_fpm_exporter_start_service_at_role_end: true\n        php_fpm_exporter_system_group: '{{ php_fpm_exporter_system_user }}'\n        php_fpm_exporter_system_user: php-fpm-exporter\n        php_fpm_exporter_test_service: true\n        php_fpm_exporter_version: latest\n        php_fpm_fix_process_count: false\n        php_fpm_log_level: warn\n        php_fpm_scrape_uri: unix:///run/php-fpm.sock;/status\n        php_fpm_web_listen_address: 127.0.0.1:9253\n        php_fpm_web_telemetry_path: /metrics\n```\n\n## ⚙️ Role Variables\n\nVariables are divided in three types.\n\nThe **default vars** section shows you which variables you may\noverride in your ansible inventory. As a matter of fact, all variables should\nbe defined there for explicitness, ease of documentation as well as overall\nrole manageability.\n\nThe **context variables** are shown in section below hint you\non how runtime context may affects role execution.\n\n### Default variables\nRole default variables from `defaults/main.yml`.\n\n| Variable Name | Value |\n|---------------|-------|\n| php_fpm_exporter_force_reinstall | False |\n| php_fpm_exporter_start_service_at_role_end | True |\n| php_fpm_exporter_test_service | True |\n| php_fpm_exporter_version | latest |\n| php_fpm_exporter_install_dir | /usr/local/bin |\n| php_fpm_exporter_system_user | php-fpm-exporter |\n| php_fpm_exporter_system_group | {{ php_fpm_exporter_system_user }} |\n| php_fpm_log_level | warn |\n| php_fpm_web_listen_address | 127.0.0.1:9253 |\n| php_fpm_web_telemetry_path | /metrics |\n| php_fpm_scrape_uri | unix:///run/php-fpm.sock;/status |\n| php_fpm_fix_process_count | False |\n| php_fpm_additional_args | []\u003cbr\u003e |\n| php_fpm_exporter_after_services | network-online.target |\n| php_fpm_exporter_download_url | https://github.com/{{ php_fpm_exporter_github_repo }}/releases/download/v{{ php_fpm_exporter_version }}/php-fpm_exporter_{{ php_fpm_exporter_version }}_linux_{{ __architecture }} |\n| php_fpm_exporter_default_template | default/php-fpm_exporter.j2 |\n| php_fpm_exporter_service_template | systemd/php-fpm_exporter.service.j2 |\n\n### Context variables\n\nThose variables from `vars/*.{yml,json}` are loaded dynamically during task\nruntime using the `include_vars` module.\n\nVariables loaded from `vars/main.yml`.\n\n| Variable Name | Value |\n|---------------|-------|\n| php_fpm_exporter_github_repo | hipages/php-fpm_exporter |\n| php_fpm_exporter_binary | php-fpm_exporter |\n| go_arch_map | aarch64: arm64\u003cbr\u003ex86_64: amd64\u003cbr\u003e |\n| __architecture | {{ go_arch_map[ansible_architecture]  \\| default('amd64') }} |\n| systemd_lib_directory | /etc/systemd/system |\n| systemd_default_directory | /etc/default |\n\n## Author Information\n\nThysTips","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthystips%2Fansible-role-php_fpm_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthystips%2Fansible-role-php_fpm_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthystips%2Fansible-role-php_fpm_exporter/lists"}