Page 1 of 1

Core 4.4.12 404 Logos

Posted: Wed May 31, 2023 1:26 pm
by jnoble921
After upgrading to 4.4.12 all of my Logos for Hosts and Services now is a 404 error.

The files are all in the same location. Public facing, internal, it is running through an Nginx server.

Rebooted, check nagios config, restarted all services.

Any ideas?

Re: Core 4.4.12 404 Logos

Posted: Wed May 31, 2023 4:10 pm
by ChrisRees
I just upgraded our systems to 4.4.12 and am seeing the same thing. The path in the configuration and the location of the logo files have not changed. However, I have noted in browser inspection that the path to the images are now /nagios/logos/ubuntu.gif, whereas previously they were /images/logos/ubuntu.gif.

Re: Core 4.4.12 404 Logos

Posted: Thu Jun 01, 2023 4:47 am
by m.magnani
Hello,

I have the same problem, i tried to install a new CentOS 7 server with new Nagios Core 4.4.12 and also in this way i have the same problem.

Trying to debug the web page with F12 you see the error messages (attached).

The other images can be seen without problems (ex: the images that can be modified by editing the index.php, main.php etc files found in /usr/local/nagios/share).

I tried with different format for logo images (.png, jpg, gif) but I always have the same problem (print attached).

Do you have any ideas?

Thanks

Regards

Massimiliano

Re: Core 4.4.12 404 Logos

Posted: Thu Jun 01, 2023 12:50 pm
by ChrisRees
After digging through the configs and scripts, I have not been able to find anything that indicates what would have changed to affect this. I am seeing that the path to the images changes in the page code, looking at /nagios/logos/image.gif rather than /nagios/images/logs/image.gif, as was previously done in 4.4.11 and prior.

I have done a quick and easy workaround, which was to copy the /usr/local/share/images/logos directory to /user/local/nagios/share. Then refreshed the page and all of my logos are showing up.

While this works, I wouldn't mind knowing what changed, and if possible be able to keep the logos under the images directory for consistency with past versions.

Re: Core 4.4.12 404 Logos

Posted: Thu Jun 01, 2023 2:07 pm
by hoff316
nagios_logo_missing.png
I have the same issue since applying the update. After the updating to Nagios Core Version 4.4.12, my logo icons are not appearing. They are all a generic icon symbol instead of the actual icons. Hovering over them indicate a path of https://servername/nagios/cgi-bin/extin ... devicename This was obviously caused by the update. They need to submit a fix.

Re: Core 4.4.12 404 Logos

Posted: Fri Jun 02, 2023 1:43 am
by m.magnani
ChrisRees wrote: Thu Jun 01, 2023 12:50 pm I have done a quick and easy workaround, which was to copy the /usr/local/share/images/logos directory to /user/local/nagios/share. Then refreshed the page and all of my logos are showing up.
I also tried to use this solution and I confirm that it works, I compared the cgi.cfg files of the 2 versions of Nagios (4.4.11 and 4.4.12) and the part relating to the logos hasn't changed.
Instead of copying the folder "logos" in "share" I created a link and it seems to work this way too.

Re: Core 4.4.12 404 Logos

Posted: Fri Jun 02, 2023 2:26 am
by m.magnani
in the meantime a new version of Nagios Core has already been released (4.4.13) perhaps this has been corrected and solves some problems including that of the logos.

Re: Core 4.4.12 404 Logos

Posted: Fri Jun 02, 2023 7:32 am
by jnoble921
Thank you everyone for replying and saying they had the same issue. I thought it was just me.

Upgraded to 4.4.13 this morning and it appears to be resolved.

Thank you.

Re: Core 4.4.12 404 Logos

Posted: Fri Jun 02, 2023 11:03 am
by ChrisRees
jnoble921,

I also upgraded this morning and it fixed the problem. The Changelog file reflects this as well. It was nothing more than a minor annoyance for us, but happy to see it get fixed quickly.


4.4.13 - 2023-06-01
-------------------
FIXES
* Fix broken logo images in status pages (regression from 4.4.12) (#917)