Skip to content
Snippets Groups Projects
iml_psql-activity.ini 1.54 KiB
; ======================================================================
;
; PSQLSERVER activity
;
; ----------------------------------------------------------------------
; 2023-06-08  <axel.hahn@unibe.ch>  initial version
; 2023-06-13  <axel.hahn@unibe.ch>  hide total graph
; ======================================================================


; ----------------------------------------------------------------------
; graph
; ----------------------------------------------------------------------

[psqlserveractivity.graph]
check_command = "Postgres-activity"

; running-total=11;; running-active=1;; running-idle=5;; running-fastpath=0;; running-other=5;;

[psqlserveractivity.urlparams]
areaAlpha   = "0.2"
areaMode    = "stacked"
colorList   = "aaaaaa,dddddd,99aacc,6699aa"
;              ^      ^      ^      ^      
;              other  idle   fast   active
lineWidth   = "2"
min         = "0"
yUnitSystem = "binary"


[psqlserveractivity.metrics_filters]
other  = "$service_name_template$.perfdata.running-other.value"
idle   = "$service_name_template$.perfdata.running-idle.value"
fast   = "$service_name_template$.perfdata.running-fastpath.value"
active = "$service_name_template$.perfdata.running-active.value"
total = "$service_name_template$.perfdata.running-total.value"

[psqlserveractivity.functions]
other  = "alias($metric$, 'Other')"
idle   = "alias($metric$, 'Idle incl. idle in transaction')"
fast   = "alias($metric$, 'Fastpath function call')"
active = "alias($metric$, 'Active (values are stacked)')"
total  = "alias($metric$, ':hidden:')"