Nagios XI 5.6.1 Themes not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Nagios XI 5.6.1 Themes not working

Post by danniiffxi »

Nagios XI 5.6.1 Dark mode not working... This is purely cosmetic.

OK so I run two instances of Nagios XI.

The first runs: XI on Core 4.4.3 with a MySQL backend which is working and displaying Dark Mode fine...
The second runs: XI on Core 4.2.4 with a PostgreSQL backend running Mod Gearman, Dark Mode, or in fact any theme will not work, The only theme that will work in the Modern default theme.

Any ideas?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI 5.6.1 Themes not working

Post by lmiltchev »

Nagios XI 5.6.1 Dark mode not working...
Can you elaborate on this? What exactly is not working? The theme doesn't change, it is loading only on some pages, etc.? Some screenshots would be helpful.

FYI, we were not able to reproduce the issue in-house. Themes worked fine in 5.6.1 with Nagios Core 4.2.4, and PostgreSQL. Is this a heavily customized system? Any custom (non-default) paths? Do you see any errors in the apache error log, when you load the Dark theme?

Code: Select all

tail -100 /var/log/httpd/error_log
Be sure to check out our Knowledgebase for helpful articles and solutions!
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Re: Nagios XI 5.6.1 Themes not working

Post by danniiffxi »

Hi lmiltchev

I noticed this morning when logging out of the system that the main login screen in dark
Image

But when logging into the system all screen are displaying as the standard modern theme.
Image

As for the log, I switched themes at 08:55am and the last log I had was from 08:53am, output below.
[root@nagiosprod ~]# tail -100 /var/log/httpd/error_log
[Wed May 08 08:53:02 2019] [error] [client 8.8.8.8] PHP Warning: Invalid argument supplied for foreach() in /usr/local/nagiosxi/html/includes/components/nagiosim/nagiosim.inc.php on line 491


As for modifications, none, other than this being an older system we have not modified anything
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI 5.6.1 Themes not working

Post by lmiltchev »

OK, I suspect that you have your "global" theme set to Modern Dark, but your user's theme is NOT. This is why, when you try to log in, you see a dark background, but after you log in, the background changes.

Try the following - log in as your user, click on the username in the right-hand corner, select Modern Dark from the User Interface Theme drop-down menu (under the Account Preferences section), and click on Update Settings.

Did this help?
Be sure to check out our Knowledgebase for helpful articles and solutions!
danniiffxi
Posts: 121
Joined: Tue Jan 30, 2018 3:29 am
Location: UK

Re: Nagios XI 5.6.1 Themes not working

Post by danniiffxi »

Perfect. thank you very much :) All working
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI 5.6.1 Themes not working

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked