Configuration not being applied

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Configuration not being applied

Post by benningtonr »

Waiting for configuration verification............................................................


This is were it sits, it is like the energizer bunny, it just keeps going and going.
I tried to roll back to the previous config, it does the same thing.

Ideas?
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Configuration not being applied

Post by benningtonr »

well it finally took. I tried adding the monitoring service I wanted and it says it failed
Configurations failed to write to file.

yet under configuration snapshots it is OK
2017-05-25 10:27:19 Config Ok 1495722439.tar.gz

And I do not see my new host, or service listed, even though it is active.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Configuration not being applied

Post by dwhitfield »

I see that it does eventually complete, but I still think https://support.nagios.com/kb/article.php?id=34 may be of use.

After that, what's the output of the following?
# df -i
# df -h

It's possible you are out of space.

Please run through https://assets.nagios.com/downloads/nag ... tabase.pdf and report any errors. If you stop at any point, please know at which point you stop.

If the repair script and other instructions in the document do not work, please continue.

Regarding the instructions below, if you do not have killall, you can install it via the following command:
# yum install psmisc

If psmisc is not in your repos, then instead you can check to make sure nagios is not running with
# ps -aef | grep nagios

If that document does not resolve your issue, please run the following commands in order and report any errors. You ***must*** use mariadb instead of mysqld in the commands below, ***if*** you have mariadb.
# service nagios stop
# service ndo2db stop
# service mysqld stop
# service crond stop
# service httpd stop
# killall -9 nagios
# killall -9 ndo2db
# rm -f /usr/local/nagios/var/ndo.sock
# rm -f /usr/local/nagios/var/ndo2db.lock
# service ndo2db start
# service nagios start
# service mysqld start
# service crond start
# service httpd start

If those do not resolve your issue, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.

After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Configuration not being applied

Post by benningtonr »

All is well, i shut down the VM and added 5gig ram and two more cores to the system procesor.
I also only added the bandwith service to the switch, I have unlimited services, but that worked.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Configuration not being applied

Post by dwhitfield »

It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Configuration not being applied

Post by benningtonr »

yes, please do thanks
Locked