Metricbeat / php-fpm by fast-cgi protocol and multi pools

I have multiple php servers that host only the php-fpm process, is they're any way to get metric beat extracting metrics from the php-fpm status page accessing it only by fast-cgi protocol ?
And by the way how does it handle multi-pool configurations ?


Hey @Claude_Brassel, welcome to discuss :slight_smile:

The php_fpm module of Metricbeat doesn't support fastcgi at the moment, but I think it would be nice to support it, could you please open an enhancement request for that?

Not sure if this answers this question, but Metricbeat modules can point to multiple hosts, e.g. something like this:

- module: php_fpm
  - pool
  status_path: "/status"
    - "localhost:8080"
    - "localhost:8081"
    - "localhost:8082"

Each event collected by the pool metricset contains a field with the name of the pool, so you can differentiate the metrics when querying them.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.