0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-18 19:38:46 +00:00
netdata_netdata/collectors/python.d.plugin/phpfpm
Ilya Mashchenko 5286dae8eb python.d.plugin update ()
<!--
Describe the change in summary section, including rationale and degin decisions.
Include "Fixes #nnn" if you are fixing an existing issue.

In "Component Name" section write which component is changed in this PR. This
will help us review your PR quicker.

If you have more information you want to add, write them in "Additional
Information" section. This is usually used to help others understand your
motivation behind this change. A step-by-step reproduction of the problem is
helpful if there is no related issue.
-->

##### Summary
Fix: 

`python.d.plugin` updates:
  * remove `retries` option 
  * make `penalty` configurable (enabled by default, max is 10 minutes)

> penalty indicates whether to apply penalty to update_every in case of failures.
> Penalty will increase every 5 failed updates in a row. Maximum penalty is 10 minutes.
> penalty: yes

##### Component Name

`python.d.plugin`

##### Additional Information
2018-12-07 10:15:03 +01:00
..
Makefile.inc Fix make dist () 2018-10-16 15:26:28 +03:00
phpfpm.chart.py python.d.plugin update () 2018-12-07 10:15:03 +01:00
phpfpm.conf python.d.plugin update () 2018-12-07 10:15:03 +01:00
README.md python.d.plugin update () 2018-12-07 10:15:03 +01:00

phpfpm

This module will monitor one or more php-fpm instances depending on configuration.

Requirements:

  • php-fpm with enabled status page
  • access to status page via web server

It produces following charts:

  1. Active Connections
  • active
  • maxActive
  • idle
  1. Requests in requests/s
  • requests
  1. Performance
  • reached
  • slow

configuration

Needs only url to server's status

Here is an example for local instance:

update_every : 3
priority     : 90100

local:
  url     : 'http://localhost/status'

Without configuration, module attempts to connect to http://localhost/status