Skip to content
Snippets Groups Projects

add 3 pgsql output templates

Merged Hahn Axel (hahn) requested to merge 6010-postgres-monitoring-user into master
3 files
+ 154
0
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 42
0
; ======================================================================
;
; PSQLSERVER activity
;
; ----------------------------------------------------------------------
; 2023-06-08 <axel.hahn@unibe.ch> initial version
; ======================================================================
; ----------------------------------------------------------------------
; 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)')"
Loading