This support forum board is for support questions relating to
Nagios XI , our flagship commercial network monitoring solution.
strmon
Posts: 31 Joined: Mon Dec 26, 2016 3:42 am
Post
by strmon » Thu Apr 06, 2017 4:32 am
Hi,
Apply Configuration
Waiting for configuration verification......................................................................
above process never complets, i am using latest XI 5.4.3.
O/p of "cmdsubsys.log"
tailf /usr/local/nagiosxi/var/cmdsubsys.log
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 79
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
OUTPUT=Starting nagios: done.
RETURNCODE=0
...............................
PROCESSED 1 COMMANDS
...........................................................
PROCESSED 0 COMMANDS
............................................................
PROCESSED 0 COMMANDS
bennyboy
Posts: 157 Joined: Thu Oct 29, 2015 9:42 am
Post
by bennyboy » Thu Apr 06, 2017 9:56 am
I have the same problem and I follow the KB but the problem persist.
The reconfigure command return RET: 0 233 warning (couple servicecheck without contact or contact group) Total Warning : 233 Total Error : 0
I also make sure /etc/hosts is already configure.
bennyboy
Posts: 157 Joined: Thu Oct 29, 2015 9:42 am
Post
by bennyboy » Thu Apr 06, 2017 10:33 am
If I use /usr/local/nagiosxi/scripts/reconfigure_nagios.sh as nagios it's working fine.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Thu Apr 06, 2017 12:16 pm
Run this command in a root shell on the Nagios server.
Code: Select all
tail -f /usr/local/nagiosxi/var/cmdsubsys.log
Then Apply the Configuration and post the output of the tail command.
Also, did either of the poster's enable SSL access to the XI server?
Be sure to check out our
Knowledgebase for helpful articles and solutions!
strmon
Posts: 31 Joined: Mon Dec 26, 2016 3:42 am
Post
by strmon » Fri Apr 07, 2017 12:34 am
Check the attachment for cmdsubsys.log.
Yes, i've migrated from http to https and issue occurred due to it was fixed earlier.
post "
https://support.nagios.com/forum/viewto ... 16&t=43051 "
Now again i am facing same issue, could you have a look to logs for any clue.
Also, XI script "/usr/local/nagiosxi/scripts/reconfigure_nagios.sh", ended perfectly by "apply configuration" still keep on running.
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Fri Apr 07, 2017 9:08 am
Login to the XI GUI and go to the Admin > System Settings menu, change both the Program and External URL's and add /nagiosxi/ on the end like the example below.
Code: Select all
https://host.egi.ericsson.com/nagiosxi/
Update the settings and see if that fixes the issue.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
strmon
Posts: 31 Joined: Mon Dec 26, 2016 3:42 am
Post
by strmon » Sun Apr 09, 2017 11:43 pm
URL updated as you suggested but still "Apply configuration " execution keep son running. Even under a separate activity we rebooted the VM.
Log file:
cmdsubsys.log
Any other suggestion ?
You do not have the required permissions to view the files attached to this post.
tgriep
Madmin
Posts: 9190 Joined: Thu Oct 30, 2014 9:02 am
Post
by tgriep » Mon Apr 10, 2017 8:56 am
Login as root to the Nagios server and run the following tail command.
Then login to the XI GUI and Apply the config and post the output of the tail command. Let it run until it times out if possible.
Be sure to check out our
Knowledgebase for helpful articles and solutions!
strmon
Posts: 31 Joined: Mon Dec 26, 2016 3:42 am
Post
by strmon » Tue Apr 11, 2017 12:01 am
Waited long enough before killing the "tail", operation never completes.
Attaching requested log file.
httpd_logs.txt
You do not have the required permissions to view the files attached to this post.