How to adjust the graphite background color


I show black here, I want to set it to white

Hi,

please always include more details about your setup, e.g. which module and integration are you using, which versions are involved and more. You can find hints for this in the FAQ. This helps everyone to understand your question.

Please continue to do so in your other topics and replies.

Cheers,
Michael

ii icinga2-bin 2.11.1-1.xenial
docker pull graphiteapp/graphite-statsd
version 1.1x maybe 1.16

graphite it’s defaults to black. I want to set it to white.

Hi,

ah, so the Docker container changes that to black as background color by default, interesting.

There’s two ways of influencing this.

Change Graphite default background color

Depending on your Graphite installation, the paths may differ.

vim /opt/graphite/conf/graphTemplates.conf

[default]
background = white
foreground = black

Modify Icinga module templates to change the background color

Add the following bgcolor and fgcolor lines into the mentioned sections.

vim /etc/icingaweb2/modules/graphite/templates/default.ini

[default-host.urlparams]

bgcolor = "white"
fgcolor = "black"

[default-service.urlparams]

bgcolor = "white"
fgcolor = "black"

References

Cheers,
Michael

1 Like

thank you
you are great
I solved

I had explained that too often in the past years, I have moved this into a PR for the official documentation now.

Cheers,
Michael