diff --git a/update-available.ini b/update-available.ini index 5612d9e8174d4ea70726a77e7d3b4791fafbb50f..7b89373f5e05051b58d0833253575a2744ebfc47 100644 --- a/update-available.ini +++ b/update-available.ini @@ -20,7 +20,9 @@ check_command = "Update-available" [update-available.urlparams] areaAlpha = "0.2" 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" min = "0" yUnitSystem = "none" @@ -32,6 +34,5 @@ value = "$service_name_template$.perfdata.updates-available.value" [update-available.functions] -security = "alias($metric$, 'available security updates')" -value = "alias($metric$, 'available updates')" - +security = "alias(color($metric$, '#ff0000'), 'available security updates')" +value = "alias(color($metric$, '#6699aa'), 'available updates')"