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

Merge branch '6678-onehost-add-disabled-hosts' into 'master'

6678 onehost add disabled hosts

See merge request !7
parents 150f7e4a 923576e5
No related branches found
No related tags found
1 merge request!76678 onehost add disabled hosts
; ======================================================================
;
; IML Client backup
;
; show backed up files and dirs
;
; ----------------------------------------------------------------------
; 2023-09-01 <axel.hahn@iml.unibe.ch> initial version
; ======================================================================
; files-new=856;;;0 files-mod=572;;;0 files-del=448 dirs-new=72;;;0 dirs-mod=0;;;0 dirs-del=14
; ----------------------------------------------------------------------
; graph
; ----------------------------------------------------------------------
[clientbackup.graph]
check_command = "Duplicity-backup"
[clientbackup.urlparams]
areaAlpha = "0.2"
; areaMode = "first"
; areaMode = "stacked"
colorList = "44aa66,ffaa22,ee8888,66cc88,888888,cc66dd"
; ^ ^ ^ ^ ^ ^
; new mod del new mod del
lineWidth = "2"
min = "0"
; max = "100"
yUnitSystem = "binary"
[clientbackup.metrics_filters]
files-new = "$service_name_template$.perfdata.files-new.value"
files-mod = "$service_name_template$.perfdata.files-mod.value"
files-del = "$service_name_template$.perfdata.files-del.value"
dirs-new = "$service_name_template$.perfdata.dirs-new.value"
dirs-mod = "$service_name_template$.perfdata.dirs-mod.value"
dirs-del = "$service_name_template$.perfdata.dirs-del.value"
[clientbackup.functions]
; usage = "alias(color($metric$, '#ff5566'), 'Usage (%)')"
; usage = "alias($metric$, 'Usage (%)')"
files-new = "alias($metric$, 'new')"
files-mod= "alias($metric$, 'mdified')"
files-del= "alias($metric$, 'deleted files')"
dirs-new= "alias($metric$, 'new')"
dirs-mod= "alias($metric$, 'modified')"
dirs-del= "alias($metric$, 'deleted dirs')"
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
; ;
; ---------------------------------------------------------------------- ; ----------------------------------------------------------------------
; 2023-06-12 <axel.hahn@unibe.ch> initial version ; 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" ...@@ -20,9 +21,9 @@ check_command = "ONE-hosts"
areaAlpha = "0.2" areaAlpha = "0.2"
; areaMode = "first" ; areaMode = "first"
areaMode = "stacked" areaMode = "stacked"
colorList = "66cc88,888888,ddddee" colorList = "dd4444,888888,66cc88"
; ^ ^ ^ ; ^ ^ ^
; on other total ; other dsbl on
lineWidth = "2" lineWidth = "2"
min = "0" min = "0"
...@@ -30,12 +31,14 @@ min = "0" ...@@ -30,12 +31,14 @@ min = "0"
yUnitSystem = "binary" yUnitSystem = "binary"
[onehost.metrics_filters] [onehost.metrics_filters]
valon = "$service_name_template$.perfdata.on.value"
valother = "$service_name_template$.perfdata.other.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" valtotal = "$service_name_template$.perfdata.total.value"
[onehost.functions] [onehost.functions]
valon = "alias($metric$, 'ON')"
valother = "alias($metric$, 'other state')" valother = "alias($metric$, 'other state')"
valdis = "alias($metric$, 'disabled')"
valon = "alias($metric$, 'ON')"
valtotal = "alias($metric$, ':hidden:')" 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