Changes not activated on fresh install of XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dworthdf
Posts: 12
Joined: Mon Feb 13, 2017 5:16 pm

Changes not activated on fresh install of XI

Post by dworthdf »

Hi,

I just did a fresh install of XI version 5.4.2 running on CentOS 7.3.1611 Vm guest. The server was a fresh build with nothing else running on it. The issue I am having is that when I create a host or service and I change one of the properties, the changes are not writing to the associated config files. Here are steps that I followed:

1. Using a shared services name, I am putting services checks in the same file using the XI UI.
2. I created a new service to add to it and added a service template and a host group. I then applied the changes. Everything is working as expected.
3. I realized the host group was wrong, and went back in to try to change it.
4. I saved the change, but noticed that the Status did not change and was not red. Indicating a change was made to a configuration file.
5. I went ahead and clicked Apply Configuration. The changes were not enabled and the actual Services configuration file that I was working with did not change.
6. I tried changing other properties and still did not work.

To get around the issue, I had to disable the service and save it. I then saw that the Status was red for all checks in that service file. I then click Apply Configuration. I was then able to re-enable the check, and make the host template change. The changes were enabled.

Is there something that I am missing? I have worked with XI in another environment for years and never had this issue. I also saw that current release is relatively new.

Thanks,
David
Last edited by dwhitfield on Thu Feb 23, 2017 11:06 am, edited 1 time in total.
Reason: marking with green check mark
dworthdf
Posts: 12
Joined: Mon Feb 13, 2017 5:16 pm

Re: Changes not activated on fresh install of XI

Post by dworthdf »

Hi, had some more time to work on this and things are just not working as they should. Here is what I am seeing today.

1. I created 2 new services that have the same service name as the others, i.e. it should be added to the same service file. In order to get at least one running, I had created both, then disable then re-enabled them so that all the services that belonged to that same service file showed that a change was made and should be activated. However, only one of them showed up. To get the other working, I had to delete it, then recreate. I still had to disable then re-enable so that the status for all checks that belonged to that service file showed that Apply Configuration was needed.

2. The other issue is while I was wrestling with the above, I was getting an error reporting with the first node that it came across. The first time I ran into this, I made it inactive, apply configuration, then made it active, apply configuration. I continued to hit the same error and would just try to re-apply the configuration and that would work. I looked at the file and there were no issues. The setting it is complaining about is in a template that the rest are using. So no issues.

Are there logs that I can look at? I did not see anything in the nagios.log. This seems really buggy. I never had these issues when used XI with another company. Last time I touched it was Jul 2016, so not that long ago.

Thanks,
David
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Changes not activated on fresh install of XI

Post by rkennedy »

I would look at a profile to see if anything sticks out in the various log files it collects. (Admin -> System Profile -> Download Profile) - could you post this for us to review as well?

Have you gone through a Nagios XI Quickstart yet? This doesn't sound like intended functionality, and may be easier if one of our techs helps you out. Take a look over here to sign up for a 1 hour session - https://www.nagios.com/services/quickstart/
Former Nagios Employee
dworthdf
Posts: 12
Joined: Mon Feb 13, 2017 5:16 pm

Re: Changes not activated on fresh install of XI

Post by dworthdf »

Hi,

I sent the profile in a private message. I did not want it to be public. I also signed up for the 1 hour session. I will continue to look at logs as I make changes.

Thanks,
David
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Changes not activated on fresh install of XI

Post by dwhitfield »

Please post your install.log. It doesn't sound like it got installed correctly. Are you offloading the db, using an entirely offline install, a ramdisk, mod_gearman or any other customization?
dworthdf
Posts: 12
Joined: Mon Feb 13, 2017 5:16 pm

Re: Changes not activated on fresh install of XI

Post by dworthdf »

I sent the install log in a private message. Everything about the install is default. The DB is default and no customization. I just ran fullinstall.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Changes not activated on fresh install of XI

Post by dwhitfield »

Thank you for that information. However, I did not get the install.log. Could you please PM it to me? Thanks!

UPDATE: Profile and install.log received and shared with techs
Last edited by dwhitfield on Tue Feb 14, 2017 2:20 pm, edited 1 time in total.
Reason: items received
dworthdf
Posts: 12
Joined: Mon Feb 13, 2017 5:16 pm

Re: Changes not activated on fresh install of XI

Post by dworthdf »

I sent it again. Not sure why the other was stuck in outbox.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Changes not activated on fresh install of XI

Post by dwhitfield »

I am not sure if this is still the issue, but yesterday you were getting mysql.sock errors.

Please run through https://assets.nagios.com/downloads/nag ... tabase.pdf and let us know if you run into any issues.
dworthdf
Posts: 12
Joined: Mon Feb 13, 2017 5:16 pm

Re: Changes not activated on fresh install of XI

Post by dworthdf »

Hi,

This is still an issue. I ran through the DB repair on nagios DB and there were no issues. I then created a new check and it was added with out issues. I then went to change the description and it did not change. After I changed it, I did not see red under status for that service telling me that it needed to be activated. I also checked the service file and the changes were not written.

Just curious, where did you see the mysql.sock error? I looked at the mariadb log and it looked clean. Is there a specific log that keeps track of changes and if there are errors when applying them?

Thanks,
David
Locked