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
Not refreshing GUI host and service status on CCM
Re: Not refreshing GUI host and service status on CCM
Hi @oss_opl,
Can you provide the output of the following cli command?
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:
This script does a bit more than the mysqlcheck operation you've already tried running.
Can you provide the output of the following cli command?
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgCode: Select all
/usr/local/nagiosxi/scripts/repair_databases.shRe: Not refreshing GUI host and service status on CCM
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