Page 1 of 1

Not refreshing GUI host and service status on CCM

Posted: Thu Nov 14, 2024 6:03 am
by oss_opl
HI!
After the last change in Nagiosxi I noticed that the status in CCM of hosts and services does not change to Applied but remains on NoT applied. However, each change is implemented - only the status on the GUI does not change. I did:
/usr/local/nagiosxi/scripts/reset_config_perms.sh
/usr/local/nagiosxi/scripts/reconfigure_nagios.sh
sudo mysqlcheck -u root -p --repair nagiosxi
sudo systemctl restart nagios
sudo systemctl restart apache2

but it still does not work

OS Ubuntu 22.04, NagiosXI 2024R1.3.1

Re: Not refreshing GUI host and service status on CCM

Posted: Thu Nov 14, 2024 12:26 pm
by jsimon
Hi @oss_opl,

Can you provide the output of the following cli command?

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
This will let us know if your configs are applying. If not, there may be an issue with the database. If it looks like that is the case, the next step will be to run the repair_databases script, located here:

Code: Select all

/usr/local/nagiosxi/scripts/repair_databases.sh
This script does a bit more than the mysqlcheck operation you've already tried running.

Re: Not refreshing GUI host and service status on CCM

Posted: Fri Nov 15, 2024 12:54 pm
by gregbeyer

Re: Not refreshing GUI host and service status on CCM

Posted: Thu Feb 06, 2025 7:00 am
by oss_opl
Changing the timezone in php.ini turned out to be crucial. It was not set by default. I set the timezone to Europe/Warsaw but it still didn't work. Setting the timezone to UTC on the system and in php.ini solved the problem. Thank you for your help