Problem when hit Apply Configuration
Problem when hit Apply Configuration
Some of my services in the Configure view are showing in red, saying "not applied, Apply Configuration for changes to take effect".
I hit Apply Configuration, get an OK result (green exclamation marks, saying my config is good and Nagios has been restarted), However, when I go into the Configure view for services, all of them are still showing in red and saying "not applied" and when i go to Home and search the service that i changed, he didnt change anything. The only thing to make this Apply Configuration works is going to --> Configure --> CCM --> Write Config Files --> Click "Delete" --> click "Write". If all looks good, Apply configuration. Then my services are all "applied".
Nagios XI 2014R2.6
Mysql Remote Server
CentOS 6.6
I hit Apply Configuration, get an OK result (green exclamation marks, saying my config is good and Nagios has been restarted), However, when I go into the Configure view for services, all of them are still showing in red and saying "not applied" and when i go to Home and search the service that i changed, he didnt change anything. The only thing to make this Apply Configuration works is going to --> Configure --> CCM --> Write Config Files --> Click "Delete" --> click "Write". If all looks good, Apply configuration. Then my services are all "applied".
Nagios XI 2014R2.6
Mysql Remote Server
CentOS 6.6
Re: Problem when hit Apply Configuration
Can you run the following and post the results back?
Code: Select all
cd /usr/local/nagiosxi/scripts
su nagios
./reconfigure_nagios.sh
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem when hit Apply Configuration
Output Attached.
You do not have the required permissions to view the files attached to this post.
Re: Problem when hit Apply Configuration
This problem happens only when i change any service. If i add or delete it works.
You do not have the required permissions to view the files attached to this post.
Last edited by paulol on Fri Mar 20, 2015 3:18 pm, edited 2 times in total.
Re: Problem when hit Apply Configuration
Are you using a proxy?
Run the following command to begin capturing log output:
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.
Also, run the following commands and show us the output:
Run the following command to begin capturing log output:
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txtAlso, run the following commands and show us the output:
Code: Select all
getenforce
chage nagios -l
grep "NAGIOSXI=nagios" /etc/sudoers
grep -R "NAGIOSXI=nagios" /etc/sudoers.d/
ll /usr/local/nagiosxi/scripts/nagiosql*
tail -50 /var/log/httpd/error_logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem when hit Apply Configuration
No, Im not using a proxy.
You do not have the required permissions to view the files attached to this post.
Re: Problem when hit Apply Configuration
This seems to be a permissions issue. You have many line as the one below:
Can you show us the whole "/etc/sudoers" file?/bin/chmod: changing permissions of `/usr/local/nagios/etc/hosts/SW2_TMKT_BSA.cfg': Operation not permitted
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem when hit Apply Configuration
Sudoers Attached.
You do not have the required permissions to view the files attached to this post.
Re: Problem when hit Apply Configuration
Could you run the following and show us the results:
Code: Select all
sudo su nagios
cd /usr/local/nagiosxi/scripts
./reset_config_permsRe: Problem when hit Apply Configuration
Attached. The user Nagios doesnt have permission to exec this sh.
You do not have the required permissions to view the files attached to this post.