[icinga-users] Any way to adjust service grid colours without recompiling?
thomas.gelf at netways.de
Thu Jan 5 09:46:14 CET 2017
sure you can. First, create a custom module within one of your module
paths and go there, like:
Next, create the base directory for themes:
mkdir -p public/css/themes
Can be accomplished at once, I just separated them to better explain
what's going on. Now create a less-File for your theme:
Thinks You can now override all styles and colors like this:
Less is like CSS, just with more syntactic sugar. Find more colors here:
Changing those variables is upgrade-safe. Enable your module 'mymodule'
and change your new theme in your web frontend. Go to Configuration ->
Application or change it for a single user in your preferences.
Am 04.01.2017 um 23:01 schrieb Antony Stone:
> There are many different colours used in the service grid display
> http://your.icinga.tld/icingaweb2/monitoring/list/servicegrid - I attach an
> example from my own system showing:
> - green (good)
> - red (critical alert)
> - pink (critical alert, acknowleged)
> - yellow (warning)
> - pale yellow (warning, acknowleged)
> - purple (check timeout)
> I suspect there can be other colours shown too sometimes.
> I'd like to know if it's possible to change the colours used for these
> statuses without recompiling icingaweb2 - is there a config file somewhere,
> saying what RGB values to use for each status, which I could edit and get the
> new colours shown, maybe just with an Apache2 restart, or maybe even just by
> waiting for the next screen update?
> icinga-users mailing list
> icinga-users at lists.icinga.org
NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | thomas.gelf at netways.de
** OSDC 2017 - Mai – osdc.de **
More information about the icinga-users