Skip to content
Snippets Groups Projects

6678 onehost add disabled hosts

Merged Hahn Axel (hahn) requested to merge 6678-onehost-add-disabled-hosts into master
1 file
+ 7
4
Compare changes
  • Side-by-side
  • Inline
+ 7
4
@@ -6,6 +6,7 @@
;
; ----------------------------------------------------------------------
; 2023-06-12 <axel.hahn@unibe.ch> initial version
; 2023-09-15 <axel.hahn@unibe.ch> add disabled hosts
; ======================================================================
@@ -20,9 +21,9 @@ check_command = "ONE-hosts"
areaAlpha = "0.2"
; areaMode = "first"
areaMode = "stacked"
colorList = "66cc88,888888,ddddee"
colorList = "dd4444,888888,66cc88"
; ^ ^ ^
; on other total
; other dsbl on
lineWidth = "2"
min = "0"
@@ -30,12 +31,14 @@ min = "0"
yUnitSystem = "binary"
[onehost.metrics_filters]
valon = "$service_name_template$.perfdata.on.value"
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]
valon = "alias($metric$, 'ON')"
valother = "alias($metric$, 'other state')"
valdis = "alias($metric$, 'disabled')"
valon = "alias($metric$, 'ON')"
valtotal = "alias($metric$, ':hidden:')"
Loading