[icinga-users] Any way to adjust service grid colours without recompiling?

Antony Stone Antony.Stone at icinga.open.source.it
Wed Jan 11 00:54:46 CET 2017


On Thursday 05 January 2017 at 09:46:14, Thomas Gelf wrote:

> Hi Antony,
> 
> sure you can.

> mkdir /usr/share/icingaweb2/modules/mymodule
> cd /usr/share/icingaweb2/modules/mymodule
> mkdir -p public/css/themes

> Less is like CSS, just with more syntactic sugar. Find more colors here:
> 
> https://github.com/Icinga/icingaweb2/blob/master/public/css/icinga/base.less

Excellent - thanks - works nicely :)

Antony.

> Am 04.01.2017 um 23:01 schrieb Antony Stone:
> > Hi.
> > 
> > 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?
> > 
> > Thanks,
> > 
> > 
> > Antony.

-- 
René Descartes walks in to a bar.
The barman asks him "Do you want a drink?"
Descartes says "I think not," and disappears.

                                                   Please reply to the list;
                                                         please *don't* CC me.


More information about the icinga-users mailing list