diff --git a/iml_clientbackup.ini b/iml_clientbackup.ini new file mode 100644 index 0000000000000000000000000000000000000000..5f85b906e86b782e178c5c739f29b042c7d2b5a4 --- /dev/null +++ b/iml_clientbackup.ini @@ -0,0 +1,54 @@ +; ====================================================================== +; +; 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')" diff --git a/iml_onehost.ini b/iml_onehost.ini index 05f68abffb4ae6a4de5ae48335e377bbd86da28f..d7e7698c39a11b5fa8823d120a423d3660e22701 100644 --- a/iml_onehost.ini +++ b/iml_onehost.ini @@ -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:')"