Skip to content
Snippets Groups Projects
Commit a2e0d42c authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

add graph templates for onevm and onehost

parent 0f87c9d6
Branches
No related tags found
1 merge request!52 more psql templates
; ======================================================================
;
; ONE hosts
;
; Opennebula hosts
;
; ----------------------------------------------------------------------
; 2023-06-i12 <axel.hahn@unibe.ch> initial version
; ======================================================================
; ----------------------------------------------------------------------
; graph
; ----------------------------------------------------------------------
[onehost.graph]
check_command = "ONE-hosts"
[onehost.urlparams]
areaAlpha = "0.2"
; areaMode = "first"
areaMode = "stacked"
colorList = "66cc88,888888,ddddee"
; ^ ^ ^
; on other total
lineWidth = "2"
min = "0"
;max = "100"
yUnitSystem = "binary"
[onehost.metrics_filters]
valon = "$service_name_template$.perfdata.on.value"
valother = "$service_name_template$.perfdata.other.value"
valtotal = "$service_name_template$.perfdata.total.value"
[onehost.functions]
valon = "alias($metric$, 'ON')"
valother = "alias($metric$, 'other state')"
valtotal = "alias($metric$, ':hidden:')"
; ======================================================================
;
; ONE vm
;
; Opennebula virtual machines
;
; ----------------------------------------------------------------------
; 2023-06-i12 <axel.hahn@unibe.ch> initial version
; ======================================================================
; ----------------------------------------------------------------------
; graph
; ----------------------------------------------------------------------
[onevm.graph]
check_command = "ONE-vms"
[onevm.urlparams]
areaAlpha = "0.2"
; areaMode = "first"
areaMode = "stacked"
colorList = "66cc88,cc66dd,ee8888,888888,6699aa"
; ^ ^ ^ ^ ^
; runn unkn fail other total
lineWidth = "2"
min = "0"
;max = "100"
yUnitSystem = "binary"
[onevm.metrics_filters]
valrunning = "$service_name_template$.perfdata.running.value"
valunknown = "$service_name_template$.perfdata.unknown.value"
valfail = "$service_name_template$.perfdata.fail.value"
valother = "$service_name_template$.perfdata.other.value"
valtotal = "$service_name_template$.perfdata.total.value"
[onevm.functions]
valrunning = "alias($metric$, 'Running')"
valunknown = "alias($metric$, 'Unknown state')"
valfail = "alias($metric$, 'Failed')"
valother = "alias($metric$, 'other state')"
valtotal = "alias($metric$, ':hidden:')"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment