Skip to content
Snippets Groups Projects
iml_onehost.ini 1.26 KiB
; ======================================================================
;
; ONE hosts
;
; Opennebula hosts
;
; ----------------------------------------------------------------------
; 2023-06-12  <axel.hahn@unibe.ch>  initial version
; 2023-09-15  <axel.hahn@unibe.ch>  add disabled hosts
; ======================================================================


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

[onehost.graph]
check_command = "ONE-hosts"

[onehost.urlparams]
areaAlpha   = "0.2"
; areaMode    = "first"
areaMode    = "stacked"
colorList   = "dd4444,888888,66cc88"
;              ^      ^      ^
;              other  dsbl   on

lineWidth   = "2"
min         = "0"
;max         = "100"
yUnitSystem = "binary"

[onehost.metrics_filters]
valother   = "$service_name_template$.perfdata.other.value"
valdis     = "$service_name_template$.perfdata.disabled.value"
valon      = "$service_name_template$.perfdata.on.value"
valtotal   = "$service_name_template$.perfdata.total.value"

[onehost.functions]
valother  = "alias($metric$, 'other state')"
valdis    = "alias($metric$, 'disabled')"
valon     = "alias($metric$, 'ON')"
valtotal  = "alias($metric$, ':hidden:')"