0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-22 20:42:33 +00:00
netdata_netdata/collectors/python.d.plugin/haproxy
Promise Akpan f5006d51e8 Fix Markdown Lint warnings ()
* make remark access all directories

* detailed fix after autofix by remark lint

* cross check autofix for this set of files

* crosscheck more files

* crosschecking and small fixes

* crosscheck autofixed md files
2019-08-15 13:06:39 +02:00
..
haproxy.chart.py py stuff: change l2isbad to ilyam8 () 2019-03-21 12:35:44 +03:00
haproxy.conf python.d.plugin update () 2018-12-07 10:15:03 +01:00
Makefile.inc Fix make dist () 2018-10-16 15:26:28 +03:00
README.md Fix Markdown Lint warnings () 2019-08-15 13:06:39 +02:00

haproxy

Module monitors frontend and backend metrics such as bytes in, bytes out, sessions current, sessions in queue current. And health metrics such as backend servers status (server check should be used).

Plugin can obtain data from url OR unix socket.

Requirement: Socket MUST be readable AND writable by the netdata user.

It produces:

  1. Frontend family charts

    • Kilobytes in/s
    • Kilobytes out/s
    • Sessions current
    • Sessions in queue current
  2. Backend family charts

    • Kilobytes in/s
    • Kilobytes out/s
    • Sessions current
    • Sessions in queue current
  3. Health chart

    • number of failed servers for every backend (in DOWN state)

configuration

Sample:

via_url:
  user       : 'username' # ONLY IF stats auth is used
  pass       : 'password' # # ONLY IF stats auth is used
  url     : 'http://ip.address:port/url;csv;norefresh'

OR

via_socket:
  socket       : 'path/to/haproxy/sock'

If no configuration is given, module will fail to run.


analytics