Hello Support,
We had a successfully update our PROD NagiosXI version 5.8.2 and found, that we experinecing the issue described here:
https://support.nagios.com/forum/viewto ... 16&t=30807
Also our UAT environment producing these signs, same operating system same version, much less service count.
5.8.3 version changelog not showing these type of correction.
Tried to use
/usr/local/nagiosxi/scripts/reset_config_perms.sh
but not sure it is help or not, but on UAT environment it is worked well.
I could make profile, but its size is arround 500MB on our PROD environment.
Please help find the RCA and resolve the issue.
Thank you, best regards,
Ferenc
Apply configuration error - attributes rolling back
Re: Apply configuration error - attributes rolling back
Before following the steps below, please do this and see if it resolves the issue:
Please go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- After they are done being written, apply configuration and validate.
If that doesn't resolve the issue you're likely hitting a bug in the new NDO3 (we would need a copy of your profile to validate what is occurring). I would upgrade to XI 5.8.3 where it has the latest NDO3 fixes, then apply configuration to see if that resolves your issue.
If you still have the issue on XI 5.8.3, then you'll need to downgrade NDO3 back to NDO2DB to resolve the issue:
Run these commands as root:
If you have an offloaded database you will need to edit your /usr/local/nagios/etc/ndo2db.cfg file and update these before running the next command to start it up:
- You can get the info from your /usr/local/nagios/etc/ndo.cfg or from /usr/local/nagiosxi/html/config.inc.php
db_host
db_port
db_user
db_pass
Then run this command to start it up.:
Then edit your /usr/local/nagios/etc/nagios.cfg and make sure this line is uncommented/add it if needed:
Make sure all occurrences of this line are commented:
Then start the nagios service:
Then apply configuration.
Please go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- After they are done being written, apply configuration and validate.
If that doesn't resolve the issue you're likely hitting a bug in the new NDO3 (we would need a copy of your profile to validate what is occurring). I would upgrade to XI 5.8.3 where it has the latest NDO3 fixes, then apply configuration to see if that resolves your issue.
If you still have the issue on XI 5.8.3, then you'll need to downgrade NDO3 back to NDO2DB to resolve the issue:
Run these commands as root:
Code: Select all
systemctl stop nagios
cd /tmp
rm -rf /tmp/nagiosxi
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.6.14.tar.gz
tar zxf xi-5.6.14.tar.gz
cd /tmp/nagiosxi
./init.sh
cd /tmp/nagiosxi/subcomponents/ndoutils
./install
systemctl enable ndo2db
- You can get the info from your /usr/local/nagios/etc/ndo.cfg or from /usr/local/nagiosxi/html/config.inc.php
db_host
db_port
db_user
db_pass
Then run this command to start it up.:
Code: Select all
systemctl start ndo2db
Code: Select all
broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
Code: Select all
#broker_module=/usr/local/nagios/bin/ndo.so /usr/local/nagios/etc/ndo.cfg
Code: Select all
systemctl start nagios
Re: Apply configuration error - attributes rolling back
Hello Support,
After a few days detailed testing it is clear, that the reset config file permisisons script and the Config file management procedure persistent solved out issue!
The can be closed now.
Thank you, best regards,
Ferenc
After a few days detailed testing it is clear, that the reset config file permisisons script and the Config file management procedure persistent solved out issue!
The can be closed now.
Thank you, best regards,
Ferenc
Re: Apply configuration error - attributes rolling back
Hello Support,
After a few days detailed testing it is clear, that the reset config file permisisons script and the Config file management procedure persistent solved out issue!
The can be closed now.
Thank you, best regards,
Ferenc
After a few days detailed testing it is clear, that the reset config file permisisons script and the Config file management procedure persistent solved out issue!
The can be closed now.
Thank you, best regards,
Ferenc
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Apply configuration error - attributes rolling back
Locking threadjunkertf wrote:Hello Support,
After a few days detailed testing it is clear, that the reset config file permisisons script and the Config file management procedure persistent solved out issue!
The can be closed now.
Thank you, best regards,
Ferenc