Not refreshing GUI host and service status on CCM

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
oss_opl
Posts: 7
Joined: Wed Nov 08, 2017 4:33 am

Not refreshing GUI host and service status on CCM

Post 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
jsimon
Posts: 339
Joined: Wed Aug 23, 2023 11:27 am

Re: Not refreshing GUI host and service status on CCM

Post 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.
oss_opl
Posts: 7
Joined: Wed Nov 08, 2017 4:33 am

Re: Not refreshing GUI host and service status on CCM

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