Page 1 of 2
change are not picked up after apply changes
Posted: Mon Sep 16, 2019 7:27 am
by oxyma
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
Re: change are not picked up after apply changes
Posted: Mon Sep 16, 2019 7:29 am
by oxyma
I have had some issues with the database which the repair fixed...
I have run fix permissions and checked the sudoers file
Re: change are not picked up after apply changes
Posted: Mon Sep 16, 2019 8:08 am
by scottwilkerson
Can we verify there is only 1 nagios parent process
Code: Select all
ps -ef|grep nagios.cfg|grep -v grep
Re: change are not picked up after apply changes
Posted: Mon Sep 16, 2019 8:17 am
by oxyma
Hi scott thanks for the fast reply..
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
Re: change are not picked up after apply changes
Posted: Mon Sep 16, 2019 8:20 am
by scottwilkerson
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?
Re: change are not picked up after apply changes
Posted: Mon Sep 16, 2019 8:24 am
by oxyma
At the moment i am changing some Aliases of hosts using the CCM
Re: change are not picked up after apply changes
Posted: Mon Sep 16, 2019 8:34 am
by scottwilkerson
oxyma wrote:At the moment i am changing some Aliases of hosts using the CCM
And then when you go to Host Status Detail page for the host it doesn't display?
Re: change are not picked up after apply changes
Posted: Mon Sep 16, 2019 8:45 am
by oxyma
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...
Re: change are not picked up after apply changes
Posted: Mon Sep 16, 2019 8:59 am
by scottwilkerson
Lets go to
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
Posted: Tue Sep 17, 2019 3:36 am
by oxyma
just tried unfortunately the changes are not picked up...