Core 4.4.12 404 Logos

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
jnoble921
Posts: 20
Joined: Mon Nov 30, 2015 2:53 pm

Core 4.4.12 404 Logos

Post 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?
ChrisRees
Posts: 3
Joined: Fri Mar 05, 2021 5:00 pm

Re: Core 4.4.12 404 Logos

Post 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.
Last edited by ChrisRees on Wed May 31, 2023 4:22 pm, edited 1 time in total.
m.magnani
Posts: 4
Joined: Wed May 31, 2023 10:14 am

Re: Core 4.4.12 404 Logos

Post 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
Attachments
Immagine 2023-06-01 114646.jpg
Immagine 2023-06-01 114646.jpg (9.79 KiB) Viewed 1583 times
Immagine 2023-06-01 112036.jpg
Immagine 2023-06-01 111837.jpg
ChrisRees
Posts: 3
Joined: Fri Mar 05, 2021 5:00 pm

Re: Core 4.4.12 404 Logos

Post 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.
hoff316
Posts: 1
Joined: Fri Sep 25, 2015 11:53 am

Re: Core 4.4.12 404 Logos

Post 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.
Last edited by hoff316 on Thu Jun 01, 2023 2:12 pm, edited 1 time in total.
m.magnani
Posts: 4
Joined: Wed May 31, 2023 10:14 am

Re: Core 4.4.12 404 Logos

Post 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.
Attachments
path logos nagios core 4.4.11.jpg
link logos folder in the share folder.jpg
m.magnani
Posts: 4
Joined: Wed May 31, 2023 10:14 am

Re: Core 4.4.12 404 Logos

Post 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.
Attachments
Immagine 2023-06-02 092633.jpg
Immagine 2023-06-02 092612.jpg
jnoble921
Posts: 20
Joined: Mon Nov 30, 2015 2:53 pm

Re: Core 4.4.12 404 Logos

Post 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.
ChrisRees
Posts: 3
Joined: Fri Mar 05, 2021 5:00 pm

Re: Core 4.4.12 404 Logos

Post 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)
Post Reply