Page 1 of 1

Custom logos for hosts

Posted: Mon Jun 02, 2025 8:19 am
by dslaughter
I'm trying to add a custom png to the host. I created the logo exactly like the snmppenguin.png. I add it to the host config, misc settings in status image and icon image. It originally had the snmppenguin.png and it displays correctly. Most of the logos have a gd2,gif, and a png. snmppenguin.png only has a png. I thought I could create an image the same size, copy it to /usr/local/nagios/share/images/logos and it would load. It doesn't, there is just a blank space where it should be in the host list.

[t@z logos]$ file snmppenguin.png
snmppenguin.png: PNG image data, 40 x 40, 8-bit/color RGBA, non-interlaced
[t@z logos]$ file Rocky_Linux_Logo.png
Rocky_Linux_Logo.png: PNG image data, 40 x 40, 8-bit/color RGBA, non-interlaced

Am I missing a step somewhere?

Re: Custom logos for hosts

Posted: Mon Jun 02, 2025 8:49 am
by dslaughter
I have xi and hadn't copied it to the correct directory. It should be here /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/

Problem solved