change are not picked up after apply changes
change are not picked up after apply changes
Since recently we experience an issue with the apply changes... it says it has been successfully completed however no changes are seen..
Case where i simply as an alias to a host then apply changes it will not show the alias in host detail.
However when i restart the nagios service on the server it will pickup the changes.
We use: Amazon Linux 64bit manual install by downloading latest xi tgz
Nothing else out of the ordinary.. it is a recent clean install
Case where i simply as an alias to a host then apply changes it will not show the alias in host detail.
However when i restart the nagios service on the server it will pickup the changes.
We use: Amazon Linux 64bit manual install by downloading latest xi tgz
Nothing else out of the ordinary.. it is a recent clean install
Re: change are not picked up after apply changes
I have had some issues with the database which the repair fixed...
I have run fix permissions and checked the sudoers file
I have run fix permissions and checked the sudoers file
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: change are not picked up after apply changes
Can we verify there is only 1 nagios parent process
Code: Select all
ps -ef|grep nagios.cfg|grep -v grepRe: change are not picked up after apply changes
Hi scott thanks for the fast reply..
strangly enough there are 2
strangly enough there are 2
Code: Select all
nagios 8662 1 0 14:01 ? 00:00:06 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 8673 8662 0 14:01 ? 00:00:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: change are not picked up after apply changes
Actually that is just 1 parent process, that looks normal.
So are you adding a host/service through the CCM, or a Wizard and then applying configuration and then not seeing it when searching?
So are you adding a host/service through the CCM, or a Wizard and then applying configuration and then not seeing it when searching?
Re: change are not picked up after apply changes
At the moment i am changing some Aliases of hosts using the CCM
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: change are not picked up after apply changes
And then when you go to Host Status Detail page for the host it doesn't display?oxyma wrote:At the moment i am changing some Aliases of hosts using the CCM
Re: change are not picked up after apply changes
after apply configuration it won't show up in the host status detail page but in the CCM Host config it does show the correct new info. It is jsut as if the info is correctly written to the database and config files but the config files are not parsed...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: change are not picked up after apply changes
Lets go to
CCM -> Tools -> Config File Management
Click Delete Files
Click Write Configs
Click Verify Files
If all looks Good
Apply Configuration
CCM -> Tools -> Config File Management
Click Delete Files
Click Write Configs
Click Verify Files
If all looks Good
Apply Configuration
Re: change are not picked up after apply changes
just tried unfortunately the changes are not picked up...