0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-09 15:47:53 +00:00
netdata_netdata/collectors/python.d.plugin/haproxy/README.md
Joel Hans a726c905bd
Change "netdata" to "Netdata" in all docs ()
* First pass of changing netdata to Netdata

* Second pass of netdata -> Netdata

* Starting work on netdata with no whitespace after

* Pass for netdata with no whitespace at the end

* Pass for netdata with no whitespace at the front
2019-08-13 08:07:17 -07:00

1.3 KiB

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
  1. Backend family charts
  • Kilobytes in/s
  • Kilobytes out/s
  • Sessions current
  • Sessions in queue current
  1. 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