change are not picked up after apply changes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
oxyma
Posts: 10
Joined: Wed Oct 09, 2013 9:56 am

change are not picked up after apply changes

Post 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
oxyma
Posts: 10
Joined: Wed Oct 09, 2013 9:56 am

Re: change are not picked up after apply changes

Post by oxyma »

I have had some issues with the database which the repair fixed...
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

Post by scottwilkerson »

Can we verify there is only 1 nagios parent process

Code: Select all

ps -ef|grep nagios.cfg|grep -v grep
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
oxyma
Posts: 10
Joined: Wed Oct 09, 2013 9:56 am

Re: change are not picked up after apply changes

Post 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
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

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
oxyma
Posts: 10
Joined: Wed Oct 09, 2013 9:56 am

Re: change are not picked up after apply changes

Post by oxyma »

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

Post 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?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
oxyma
Posts: 10
Joined: Wed Oct 09, 2013 9:56 am

Re: change are not picked up after apply changes

Post 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...
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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
oxyma
Posts: 10
Joined: Wed Oct 09, 2013 9:56 am

Re: change are not picked up after apply changes

Post by oxyma »

just tried unfortunately the changes are not picked up...
Locked