Skip to content
Snippets Groups Projects
iml_update-available.ini 1.25 KiB
; ======================================================================
;
; Updates available
;
; show available updates ... and optional security update too
;
; ----------------------------------------------------------------------
; 2020-03-23  <axel.hahn@iml.unibe.ch>  initial version
; 2021-12-16  <axel.hahn@iml.unibe.ch>  flip values for updates and sec updates 
; ======================================================================

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

[update-available.graph]
check_command = "Update-available"


[update-available.urlparams]
areaAlpha   = "0.2"
areaMode    = "stacked"
; colors in functions section .. because if 1st value (security) is
; mising then the colors are wrong :-/
; colorList   = "6699aa,ff0000"
lineWidth   = "2"
min         = "0"
yUnitSystem = "none"


[update-available.metrics_filters]
security = "$service_name_template$.perfdata.updates-security.value"
value    = "$service_name_template$.perfdata.updates-available.value"


[update-available.functions]
security = "alias(color($metric$, '#ff0000'), 'available security updates')"
value    = "alias(color($metric$, '#6699aa'), 'available updates')"