Skip to content
Snippets Groups Projects
iml_psql-diskblock.ini 1.13 KiB
; ======================================================================
;
; PSQLSERVER actions with db rows
;
; ----------------------------------------------------------------------
; 2023-06-09  <axel.hahn@unibe.ch>  initial version
; ======================================================================


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

[psqlserverdisk.graph]
check_command = "Postgres-diskblock"

; blksread=0;; blkshit=470;;


[psqlserverdisk.urlparams]
areaAlpha   = "0.2"
; areaMode    = "first"
areaMode    = "all"
colorList   = "cccccc,6699aa"
;              ^      ^
;              cache  read
lineWidth   = "2"
min         = "0"
yUnitSystem = "binary"


[psqlserverdisk.metrics_filters]
hit   = "$service_name_template$.perfdata.blkshit.value"
read  = "$service_name_template$.perfdata.blksread.value"


[psqlserverdisk.functions]
; usage = "alias(color($metric$, '#ff5566'), 'Usage (%)')"
hit   = "alias($metric$, 'Hits from PostgreSQL buffer cache')"
read  = "alias($metric$, 'Physical read disk blocks [per sec]')"