Skip to content
Snippets Groups Projects

add IML Backup server status

Merged Hahn Axel (hahn) requested to merge add_iml_backup into master
1 file
+ 67
0
Compare changes
  • Side-by-side
  • Inline
+ 67
0
 
; ======================================================================
 
;
 
; IML Backup server status
 
;
 
; show usage and idle as graph and pie
 
;
 
; ----------------------------------------------------------------------
 
; 2023-12-21 <axel.hahn@unibe.ch> initial version
 
; ======================================================================
 
 
; ----------------------------------------------------------------------
 
; graph
 
; ----------------------------------------------------------------------
 
 
[backupserver.graph]
 
check_command = "Backup-Server"
 
 
[backupserver.urlparams]
 
areaAlpha = "0.4"
 
; areaMode = "first"
 
areaMode = "stacked"
 
colorList = "cc0000,9999ee,999999,33cc33,6666cc"
 
; ^ ^ ^ ^ ^
 
; err notst disabl ok runn
 
 
lineWidth = "2"
 
min = "0"
 
; max = "100"
 
yUnitSystem = "binary"
 
 
[backupserver.metrics_filters]
 
error = "$service_name_template$.perfdata.error.value"
 
notstarted = "$service_name_template$.perfdata.notstarted.value"
 
disabled = "$service_name_template$.perfdata.disabled.value"
 
ok = "$service_name_template$.perfdata.ok.value"
 
running = "$service_name_template$.perfdata.running.value"
 
 
[backupserver.functions]
 
error = "alias($metric$, 'Error')"
 
notstarted = "alias($metric$, 'Not started yet')"
 
disabled = "alias($metric$, 'Disabled')"
 
ok = "alias($metric$, 'OK')"
 
running = "alias($metric$, 'Running')"
 
 
; ----------------------------------------------------------------------
 
; graph with running backup processes only
 
; ----------------------------------------------------------------------
 
 
[backupserverrunning.graph]
 
check_command = "Backup-Server"
 
 
 
[backupserverrunning.urlparams]
 
areaAlpha = "0.4"
 
; areaMode = "first"
 
areaMode = "stacked"
 
colorList = "6666cc"
 
lineWidth = "2"
 
min = "0"
 
yUnitSystem = "binary"
 
 
[backupserverrunning.metrics_filters]
 
running = "$service_name_template$.perfdata.running.value"
 
 
[backupserverrunning.functions]
 
running = "alias($metric$, 'Running')"
 
Loading