CCM Apply Configuration not picking up service change
CCM Apply Configuration not picking up service change
Hi,
We are using XI 2014R2.6 (fresh install).
I followed several posts; worked with mweber; to try to resolve this issue to no avail.
After updating a service in CCM, hitting SAVE, then hitting Applying Configuration the 'Show Config Changes' indicates files successfully written. In this window i should see my service change but i don'.t I check the actual .cfg in the /usr/local/nagios/etc/services directory and changes are not there. However, when I go back into CCM->Services and check the service 'View Text Config' my new change is shown here.
I've done the following (followed this post -> http://support.nagios.com/forum/viewtop ... =6&t=30917)
1) Go to CCM --> Write config files --> Delete --> Write --> Verify. No errors.
2) cd /usr/local/nagiosxi/scripts; ./reconfigure_nagios.sh. No errors.
3) chage -l nagios. not expired.
4) Checked permissions with Admin/Monitoring Config/Check File Permissions. all good.
This issue can be intermittent, but almost always re-producable.For example, if i copy a service, then update it someway and save,apply it works. Now, when i go back to that service and alter it again then save,apply it doesn't work.
brdr
We are using XI 2014R2.6 (fresh install).
I followed several posts; worked with mweber; to try to resolve this issue to no avail.
After updating a service in CCM, hitting SAVE, then hitting Applying Configuration the 'Show Config Changes' indicates files successfully written. In this window i should see my service change but i don'.t I check the actual .cfg in the /usr/local/nagios/etc/services directory and changes are not there. However, when I go back into CCM->Services and check the service 'View Text Config' my new change is shown here.
I've done the following (followed this post -> http://support.nagios.com/forum/viewtop ... =6&t=30917)
1) Go to CCM --> Write config files --> Delete --> Write --> Verify. No errors.
2) cd /usr/local/nagiosxi/scripts; ./reconfigure_nagios.sh. No errors.
3) chage -l nagios. not expired.
4) Checked permissions with Admin/Monitoring Config/Check File Permissions. all good.
This issue can be intermittent, but almost always re-producable.For example, if i copy a service, then update it someway and save,apply it works. Now, when i go back to that service and alter it again then save,apply it doesn't work.
brdr
Re: CCM Apply Configuration not picking up service change
Run the following command to begin capturing log output:
Make a change to one of your services, save, and attempt to Apply Configuration from the web interface. After the browser has returned some output to the screen, press Ctrl+c to stop the log tail, and post the cmd.txt file that was generated in the "/tmp/" directory.
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> /tmp/cmd.txtBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: CCM Apply Configuration not picking up service change
plz see attached
You do not have the required permissions to view the files attached to this post.
Re: CCM Apply Configuration not picking up service change
fyi.... seeing these errors in mysqld.log
150415 11:19:04 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150415 11:19:05 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired
150415 11:19:05 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150415 11:19:05 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired
150415 11:19:05 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150415 11:19:06 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_programstatus' is marked as crashed and should be repaired
150415 11:19:04 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150415 11:19:05 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired
150415 11:19:05 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150415 11:19:05 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_servicestatus' is marked as crashed and should be repaired
150415 11:19:05 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_customvariablestatus' is marked as crashed and should be repaired
150415 11:19:06 [ERROR] /usr/libexec/mysqld: Table './nagios/nagios_programstatus' is marked as crashed and should be repaired
Re: CCM Apply Configuration not picking up service change
Well, I would suggest repairing the db before troubleshooting further:
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.shFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: CCM Apply Configuration not picking up service change
Agreed. Ran repair script without issues. The mysqld.log looks clear right now.
I went back to test the service config issue and that has NOT changed - still an issue.
I went back to test the service config issue and that has NOT changed - still an issue.
Re: CCM Apply Configuration not picking up service change
Can you run the following and post back the results?
Code: Select all
uname -a
cat /etc/*release*
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: CCM Apply Configuration not picking up service change
# cat /etc/*release*
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Red Hat Enterprise Linux Server release 6.6 (Santiago)
cpe:/o:redhat:enterprise_linux:6server:ga:server
# uname -a
Linux ourservername.com 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 6.6 (Santiago)
Red Hat Enterprise Linux Server release 6.6 (Santiago)
cpe:/o:redhat:enterprise_linux:6server:ga:server
# uname -a
Linux ourservername.com 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
Re: CCM Apply Configuration not picking up service change
Run the following command to reset/correct permissions:
then try to apply configuration again. Did this help?
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_permsBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: CCM Apply Configuration not picking up service change
That did not help.