mirror of
https://github.com/rvalitov/zabbix-php-fpm.git
synced 2023-11-05 03:30:27 +01:00
[add] more troubleshooting
This commit is contained in:
parent
2e71a996aa
commit
3497d053d8
@ -460,6 +460,10 @@ In the above example we use the following values:
|
|||||||
- `POOL_PATH` is the status path of PHP-FPM that you set in [`pm.status_path`](https://github.com/rvalitov/zabbix-php-fpm#16-adjust-php-fpm-pools-configuration), the default value is `/php-fpm-status`.
|
- `POOL_PATH` is the status path of PHP-FPM that you set in [`pm.status_path`](https://github.com/rvalitov/zabbix-php-fpm#16-adjust-php-fpm-pools-configuration), the default value is `/php-fpm-status`.
|
||||||
|
|
||||||
The commands above should return valid JSON data. If any error happens then it will be displayed.
|
The commands above should return valid JSON data. If any error happens then it will be displayed.
|
||||||
|
Most common problems of testing the `php-fpm.discover` key:
|
||||||
|
|
||||||
|
- The resulting JSON data is empty, but the discovery script started manually works. Then it's a problem of insufficient privileges of Zabbix agent. Please, check again section "Root privileges" of this document.
|
||||||
|
- Error `ZBX_NOTSUPPORTED: Unsupported item key`. It means the `userparameter_php_fpm.conf` file is ignored by the Zabbix agent. Please, make sure that you copied this file to correct location and you have restarted the Zabbix agent.
|
||||||
|
|
||||||
# Compatibility
|
# Compatibility
|
||||||
Tested with:
|
Tested with:
|
||||||
|
Loading…
Reference in New Issue
Block a user