-
Hahn Axel (hahn) authoredHahn Axel (hahn) authored
iml_haproxy-status.ini 1.65 KiB
; ======================================================================
;
; HA Proxy requests
;
; ----------------------------------------------------------------------
; 2020-04-27 <axel.hahn@iml.unibe.ch> initial version
; ======================================================================
; ----------------------------------------------------------------------
; graph
; ----------------------------------------------------------------------
[haproxyrequests.graph]
check_command = "HAProxy-Current-Requests"
[haproxyrequests.urlparams]
areaAlpha = "0.2"
areaMode = "first"
colorList = "6699aa,d0d8da"
; ^ ^
; backend front
lineWidth = "2"
min = "0"
yUnitSystem = "binary"
[haproxyrequests.metrics_filters]
backend = "$service_name_template$.perfdata.backend.value"
frontend = "$service_name_template$.perfdata.frontend.value"
[haproxyrequests.functions]
backend = "alias($metric$, 'Backend')"
frontend = "alias($metric$, 'Frontend')"
; ----------------------------------------------------------------------
; PIE chart
; ----------------------------------------------------------------------
[haproxyrequestspie.graph]
check_command = "HAProxy-Current-Requests"
[haproxyrequestspie.urlparams]
colorList = "6699aa,ddddee"
; ^ ^
; active unused
graphType = "pie"
title = "Average usage of total slots vs. free slots (on frontend)"
[haproxyrequestspie.metrics_filters]
active = "$service_name_template$.perfdata.frontend.value"
unused = "$service_name_template$.perfdata.frontend-free.value"
[haproxyrequestspie.functions]
active = "alias($metric$, 'Active')"
unused = "alias($metric$, 'Unused')"