Fortinet Document Library

Version:


Table of Contents

User Guide

21.4.0
Copy Link

PHP-FPM

FPM Configuration

In order for the PHP FPM plugin to work, you will need to enable the status module within your web server. Instructions will differ based on the operating system and webserver. An example of how it is done in Nginx can be found here.

Agent Configuration

You'll need to add PHP FPM configuration block into Agent’s configuration file, which can be found at /etc/panopta-agent/panopta_agent.cfg. If you have multiple PHP FPM instances running on the server, use comma-separated values as shown below:

[phpfpm]
console_url = http://127.0.0.1/status, http://127.0.0.1/status

Control Panel Configuration

Like other application monitoring, PHP FPM monitoring is added to a server via the Monitoring Catalog. If you don't see PHP FPM as a discovered resource, you may need to Rebuild the FortiMonitor Agent metadata.

If you haven't yet read about how to add an Agent metric, please read our article Add FortiMonitor Agent checks.

Once PHP FPM is added, you can begin to monitor any of the metrics below.

Metric

Unit

Active Processes

Processes

Children Reached

Children

Idle Processes

Processes

Listen Queue

Listen Queue len

Processes

Max Active Processes                              

Processes                                            

Max Listen Queue

Slow Requests

Requests

Start Since

Start Time

Total Processes

Processes



PHP-FPM

FPM Configuration

In order for the PHP FPM plugin to work, you will need to enable the status module within your web server. Instructions will differ based on the operating system and webserver. An example of how it is done in Nginx can be found here.

Agent Configuration

You'll need to add PHP FPM configuration block into Agent’s configuration file, which can be found at /etc/panopta-agent/panopta_agent.cfg. If you have multiple PHP FPM instances running on the server, use comma-separated values as shown below:

[phpfpm]
console_url = http://127.0.0.1/status, http://127.0.0.1/status

Control Panel Configuration

Like other application monitoring, PHP FPM monitoring is added to a server via the Monitoring Catalog. If you don't see PHP FPM as a discovered resource, you may need to Rebuild the FortiMonitor Agent metadata.

If you haven't yet read about how to add an Agent metric, please read our article Add FortiMonitor Agent checks.

Once PHP FPM is added, you can begin to monitor any of the metrics below.

Metric

Unit

Active Processes

Processes

Children Reached

Children

Idle Processes

Processes

Listen Queue

Listen Queue len

Processes

Max Active Processes                              

Processes                                            

Max Listen Queue

Slow Requests

Requests

Start Since

Start Time

Total Processes

Processes