Page 1 of 1

I've got a stupid question about logos

Posted: Fri Oct 25, 2013 12:57 pm
by snapon_admin
So, for the sake of being visually appealing I like to use specific logos for all of our devices in Nagios. I just added a few Bluecoats, and noticed that the logos folder at /usr/local/nagios/share/images/logos does not have a bluecoat logo image. So I went and got one myself, and resized it to 40x40, the same as all the other logos. Now what happens when I apply that logo to a host, is that when I look at the host in Nagios core via nagios.snapon.com/nagios/ the logo shows up fine, but when I view the host in Nagios XI at nagios.snapon.com/nagiosxi it doesn't. The other weird thing is, if I go to advanced > view this host in nagios core, what I see is identical to what I see at nagios.snapon.com, but the logo still doesn't work. Attached screenshot for reference. As you can see from the screenshot, the top portion is from within Nagios XI, but viewing Nagios Core; no logo. The bottom is directly from Nagios core; logo works.

Re: I've got a stupid question about logos

Posted: Fri Oct 25, 2013 1:05 pm
by abrist
Any relevant entries in the apache logs?

Code: Select all

tail -25 /var/log/httpd/error_log

Re: I've got a stupid question about logos

Posted: Fri Oct 25, 2013 1:12 pm
by snapon_admin
Bunch of stuff from nagvis, but I don't see anything relevant to this in there. It's hard to tell, though, because there are so many Nagvis errors (I think our Operations team leaves those maps open all the time, so they error whenever there's been a change).

Re: I've got a stupid question about logos

Posted: Fri Oct 25, 2013 1:27 pm
by snapon_admin
Ok, I went and told them to turn those screens off so I could actually see my logs and came up with this:

Code: Select all

[Fri Oct 25 13:27:15 2013] [error] [client 10.0.8.12] File does not exist: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/bluecoat.png, referer: http://nagios.snapon.com/nagiosxi/includes/components/xicore/status.php?show=services
Put the image there and bingo! Thanks much, I just wasn't sure where to look for the path that Nagios XI was referencing. You can close this one up. Told you it was a stupid question! :P