Page 1 of 1

Nagios XI 5.6.1 Themes not working

Posted: Tue May 07, 2019 10:02 am
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?

Re: Nagios XI 5.6.1 Themes not working

Posted: Tue May 07, 2019 12:17 pm
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

Re: Nagios XI 5.6.1 Themes not working

Posted: Wed May 08, 2019 2:58 am
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

Re: Nagios XI 5.6.1 Themes not working

Posted: Wed May 08, 2019 8:28 am
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?

Re: Nagios XI 5.6.1 Themes not working

Posted: Wed May 08, 2019 9:23 am
by danniiffxi
Perfect. thank you very much :) All working

Re: Nagios XI 5.6.1 Themes not working

Posted: Wed May 08, 2019 9:31 am
by lmiltchev
I am glad I could help! :)