@cryptotaxi247 / netdata-1 / commits / e1d0ce758

haproxy plugin: description to python readme added

Ilya committed Jan 12, 2017 at 15:10 UTC e1d0ce7586ad7716dd149caee71fbf449a011b24
1 file changed +50
python.d/README.md
+50
@@ -412,6 +412,56 @@ and restart/reload your FREERADIUS server.
412
413 ---
414
415 +# haproxy
416 +
417 +Module monitors frontend and backend metrics such as bytes in, bytes out, session current, session in queue current.
418 +And health metrics such as backend servers status (server check should be used).
419 +
420 +Plugin can obtain data from url **OR** unix socket.
421 +
422 +**Requirement:**
423 +Socket MUST be readable AND writable by netdata user.
424 +
425 +It produces:
426 +
427 +1. **Frontend** family charts
428 +* Kilobytes in/s
429 +* Kilobytes out/s
430 +* Sessions current
431 +* Sessions in queue current
432 +
433 +2. **Backend** family charts
434 +* Kilobytes in/s
435 +* Kilobytes out/s
436 +* Sessions current
437 +* Sessions in queue current
438 +
439 +3. **Health** chart
440 + * number of failed servers for every backend (in DOWN state)
441 +
442 +
443 +### configuration
444 +
445 +Sample:
446 +
447 +```yaml
448 +via_url:
449 + user : 'username' # ONLY IF stats auth is used
450 + pass : 'password' # # ONLY IF stats auth is used
451 + url : 'http://ip.address:port/url;csv;norefresh'
452 +```
453 +
454 +OR
455 +
456 +```yaml
457 +via_socket:
458 + socket : 'path/to/haproxy/sock'
459 +```
460 +
461 +If no configuration is given, module will fail to run.
462 +
463 +---
464 +
465 # hddtemp
466
467 Module monitors disk temperatures from one or more hddtemp daemons.