Numerous issues after updating from 5.6 to 5.7
Posted: Tue Sep 08, 2020 8:57 am
Fully updated RHEL 7.8 x64
NagiosXI 5.7.3
We've been running NagiosXI for quite some time without issues. After updating to 5.7.0 a few months ago we started seeing odd problems. These have continued and are still present in 5.7.3
1) When updating or changing services in CCM we always get the following error:
There was a problem updating the selected item type: service
ID: 3073
Errors while deleting the old configuration file: hostname-redacted.cfg - please check permissions!
Config file: /usr/local/nagios/etc/services//hostname-redacted.cfg failed to delete, check permissions and delete file manually!
There is no permissions issue that I can see. The files in the directory look correct and Nagios is even updating and writing files there, so not sure why it is complaining. Files in that directory look like so:
-rw-rw-r--. 1 apache nagios 9444 Aug 24 09:46 hostname-redacted1.cfg
-rw-rw-r--. 1 apache nagios 9355 Aug 24 14:10 hostname-redacted2.cfg
2) We have been unable to add new hosts with the bulk cloning wizard since the upgrade. Typically when I'm adding a new host I just select one that is already present in the clone wizard, complete it, and then the new host and service checks appear. The wizard completes without error, however if you try to go to the host or services you get: "No matching services found - showing matching hosts instead." Both of which are empty. The host/service do not appear anywhere in CCM or in Nagios.
For both of these error nothing interesting appears in /var/log/messages. Nagios is restarted correctly and does not complain anywhere.
NagiosXI 5.7.3
We've been running NagiosXI for quite some time without issues. After updating to 5.7.0 a few months ago we started seeing odd problems. These have continued and are still present in 5.7.3
1) When updating or changing services in CCM we always get the following error:
There was a problem updating the selected item type: service
ID: 3073
Errors while deleting the old configuration file: hostname-redacted.cfg - please check permissions!
Config file: /usr/local/nagios/etc/services//hostname-redacted.cfg failed to delete, check permissions and delete file manually!
There is no permissions issue that I can see. The files in the directory look correct and Nagios is even updating and writing files there, so not sure why it is complaining. Files in that directory look like so:
-rw-rw-r--. 1 apache nagios 9444 Aug 24 09:46 hostname-redacted1.cfg
-rw-rw-r--. 1 apache nagios 9355 Aug 24 14:10 hostname-redacted2.cfg
2) We have been unable to add new hosts with the bulk cloning wizard since the upgrade. Typically when I'm adding a new host I just select one that is already present in the clone wizard, complete it, and then the new host and service checks appear. The wizard completes without error, however if you try to go to the host or services you get: "No matching services found - showing matching hosts instead." Both of which are empty. The host/service do not appear anywhere in CCM or in Nagios.
For both of these error nothing interesting appears in /var/log/messages. Nagios is restarted correctly and does not complain anywhere.