Skip to content
Snippets Groups Projects
Commit b8b21c5f authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update docs for php-fpm check

parent 01b609dd
No related branches found
No related tags found
1 merge request!269Update docs
......@@ -10,8 +10,7 @@ The check fetches several counters from php-fm-status page.
* running PHP FPM service
* enabled status page
To enable a status page as http://localhost/fpm-status.php
To enable a status page as <http://localhost/fpm-status.php>
* Set pm.status_path in your pool config eg. /etc/php/8.1/fpm/pool.d/www.conf
......@@ -28,7 +27,6 @@ pm.status_path = /fpm-status.php
</Location>
```
## Syntax
```text
......@@ -79,7 +77,6 @@ check_php-fpm-status -u http://localhost/my-custom-fpm-statuspage.php
## Examples
`./check_php-fpm-status -u localhost/fpm-status.php` returns
```txt
......@@ -111,3 +108,7 @@ Workers: Running: 1
|php-fpm-active=2;;;0;0 php-fpm-maxactive=5;;;0;0 php-fpm-queue=0;;;0;0 php-fpm-maxqueue=0;;;0;0 php-fpm-slow=0;;;0;0 php-fpm-speed=1;;;0;0 php-fpm-idle=3;;;0;0 php-fpm-running=1;;;0;0 php-fpm-reading=1;;;0;0
```
## Graph
You can use the template <https://git-repo.iml.unibe.ch/iml-open-source/icinga-graphite-templates/-/blob/master/iml_php-fpm-status.ini>.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment