NagiosXI CCM Overwriting Service Hosts With Nothing
Posted: Wed Aug 13, 2025 7:29 am
Hello,
I am experiencing an interesting issue in my test NagiosXI instance running 2024R1.1.5 migrated from RHEL7 to RHEL9. I have also ran the repair script that is supposed to be ran after performing this migration.
When I am modifying a host, if I save any kind of changes, all hosts and host groups are removed from the service, and Nagios reports an issue with a missing hostname or description for the .cfg file.
This is preventing us from moving forward with migration in our other environments.
I have tried the repair databases script a few times in, verified SELinux is disabled, and spent several hours trying to determine at which point in the application, when the "Save" button is pressed, that NagiosXI thinks the hosts/host groups should be zeroed out.
At this point, I have a PHP file that can be included once in any of the PHP files, and I have traced this down to the SQL statement generated by hostservice.inc.php file located in , but I cannot figure out what the root cause is.
Does anyone have some clever ideas, or maybe an idea of whats happening?
I have had to remove paths from this post as the Cloudflare WAF protecting the forums is not allowing me to post this otherwise.
Thank you!
Paul
I am experiencing an interesting issue in my test NagiosXI instance running 2024R1.1.5 migrated from RHEL7 to RHEL9. I have also ran the repair script that is supposed to be ran after performing this migration.
When I am modifying a host, if I save any kind of changes, all hosts and host groups are removed from the service, and Nagios reports an issue with a missing hostname or description for the .cfg file.
This is preventing us from moving forward with migration in our other environments.
I have tried the repair databases script a few times in, verified SELinux is disabled, and spent several hours trying to determine at which point in the application, when the "Save" button is pressed, that NagiosXI thinks the hosts/host groups should be zeroed out.
At this point, I have a PHP file that can be included once in any of the PHP files, and I have traced this down to the SQL statement generated by hostservice.inc.php file located in , but I cannot figure out what the root cause is.
Does anyone have some clever ideas, or maybe an idea of whats happening?
I have had to remove paths from this post as the Cloudflare WAF protecting the forums is not allowing me to post this otherwise.
Thank you!
Paul