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

update-availabe: put colors into functions section

parent 610a02ed
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,9 @@ check_command = "Update-available" ...@@ -20,7 +20,9 @@ check_command = "Update-available"
[update-available.urlparams] [update-available.urlparams]
areaAlpha = "0.2" areaAlpha = "0.2"
areaMode = "stacked" areaMode = "stacked"
colorList = "ff0000,6699aa" ; colors in functions section .. because if 1st value (security) is
; mising then the colors are wrong :-/
; colorList = "6699aa,ff0000"
lineWidth = "2" lineWidth = "2"
min = "0" min = "0"
yUnitSystem = "none" yUnitSystem = "none"
...@@ -32,6 +34,5 @@ value = "$service_name_template$.perfdata.updates-available.value" ...@@ -32,6 +34,5 @@ value = "$service_name_template$.perfdata.updates-available.value"
[update-available.functions] [update-available.functions]
security = "alias($metric$, 'available security updates')" security = "alias(color($metric$, '#ff0000'), 'available security updates')"
value = "alias($metric$, 'available updates')" value = "alias(color($metric$, '#6699aa'), 'available updates')"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment