Waiting for configuration verification...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
seaward1983
Posts: 69
Joined: Wed Jul 17, 2019 2:09 pm

Waiting for configuration verification...

Post by seaward1983 »

Linux Distribution and version Redhat 6
64-bit
Manual Install of XI
Nagios XI version 5.6.4

Seems any changes I make - I get "Waiting for configuration verification..."
Sometimes I go back, and the changes "took" - sometimes not.
I've been sitting on "Waiting for configuration verification..." for close to an hour now - during the "bulk import" of 60 hosts.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Waiting for configuration verification...

Post by ssax »

Could be a number of issues, likely hitting a PHP limit.

Please run this tail command (and leave it running):

Code: Select all

tail -Fn0 /usr/local/nagiosxi/var/cmdsubsys.log
Then try to apply configuration through the web interface and once it completes/errors send me the full output from the tail command above.

Please attach your /etc/php.ini as well.

Please PM a copy of your profile, you can download it from Admin > System Profile > Download Profile.

If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:

Code: Select all

rm -rf /usr/local/nagiosxi/var/components/profile*​​
/usr/local/nagiosxi/html/includes/components/profile/getprofile.sh SUPPORT
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip​ file.​

If the profile script fails, please include the ENTIRE output.
seaward1983
Posts: 69
Joined: Wed Jul 17, 2019 2:09 pm

Re: Waiting for configuration verification...

Post by seaward1983 »

Sadly - seems I don't have a cmdsubsys.log -

[root@1036060-plnag01 cron.d]# ls -l /usr/local/nagiosxi/var
total 20
drwsrwsr-x 3 apache nagios 4096 Jul 19 14:21 components
drwxrwxr-x 2 nagios nagios 4096 Jul 19 12:58 subsys
drwxrwxr-x 2 nagios nagios 4096 Jul 18 09:57 upgrades
-rw-r--r-- 1 nagios nagios 962 Jul 18 09:57 xi-sys.cfg
-rw-r--r-- 1 nagios nagios 196 Jul 18 09:57 xiversion



PM'ing you my profile and php.ini
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Waiting for configuration verification...

Post by ssax »

Your system looks like it's in a bad state, here's what mine contains:

Code: Select all

[root@xid ~]# ls -l /usr/local/nagiosxi/var
total 16656
drwxrwxr-x. 2 nagios nagios      66 Jun 11 15:22 certs
-rw-r--r--. 1 nagios nagios  165792 Jul 23 14:55 cleaner.log
-rw-r--r--. 1 nagios nagios   30532 Jul 23 14:55 cmdsubsys.log
drwsrwsr-x. 3 apache nagios      49 Jul 23 10:50 components
-rw-r--r--. 1 nagios nagios       6 Jul 23 14:55 corelog.data
-rw-r--r--. 1 nagios nagios       0 Jul 23 14:55 corelog.diff
-rw-r--r--. 1 nagios nagios  259078 Jul 23 14:55 dbmaint.log
-rw-r--r--. 1 nagios nagios   26400 Jul 23 14:55 deadpool.log
-rw-r--r--  1 nagios nagios       0 Jul 23 14:55 event_handler.lock
-rw-r--r--. 1 nagios nagios   51266 Jul 23 14:55 event_handler.log
-rw-r--r--. 1 nagios nagios   13720 Jul 23 14:55 eventman.log
-rw-r--r--. 1 nagios nagios    8662 Jul 23 14:55 feedproc.log
drwxrwxr-x. 2 nagios nagios      20 Jun 11 14:49 keys
-rw-r--r--. 1 nagios nagios    2316 Jul 23 10:45 nom.log
-rw-rw-rw-. 1 nagios nagios       0 Jun 11 14:49 NXTI_Write_Test
-rw-r--r--. 1 nagios nagios   28356 Jul 23 14:55 perfdataproc.log
-rw-r--r--. 1 nagios nagios     168 Jul 23 14:01 recurringdowntime.log
-rw-r--r--. 1 nagios nagios       0 Jun 11 14:50 reportengine.log
-rw-r--r--. 1 nagios nagios       0 Jun 11 14:50 snmptt_service_results.log
drwxrwxr-x. 2 nagios nagios      22 Jul 23 10:54 subsys
-rw-r--r--. 1 nagios nagios 8232627 Jul 23 14:55 sysstat.log
drwxrwxr-x. 2 nagios nagios       6 Jun 11 14:45 upgrades
-rw-r--r--. 1 nagios nagios       0 Jun 11 14:49 wkhtmltox.log
-rw-r--r--. 1 nagios nagios       7 Jun 11 14:49 xi-itype
-rw-r--r--. 1 nagios nagios   11953 Jul 23 10:50 xi-sys.cfg
-rw-r--r--. 1 nagios nagios      37 Jun 11 14:49 xi-uuid
-rw-r--r--. 1 nagios nagios     196 Jul 23 10:50 xiversion
You also have this:

Code: Select all

Total files in /usr/local/nagios/var/spool/xidpe/
10937
Have you rebooted the system at all? You might want to try that.

What is the output of these commands:

Code: Select all

tail -n30 /var/log/cron
chage -l nagios
grep nag /etc/group
sestatus
cat /etc/crond.d/nagiosxi
seaward1983
Posts: 69
Joined: Wed Jul 17, 2019 2:09 pm

Re: Waiting for configuration verification...

Post by seaward1983 »

That actually helped, a lot. I reran the install with -f option - and now everything is working. I don't know why those components didn't install the first time, but I was able to bulk load systems, and they're reporting now.

Thanks!
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Waiting for configuration verification...

Post by mbellerue »

Great! Glad to hear it's working! Is it okay to close this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
seaward1983
Posts: 69
Joined: Wed Jul 17, 2019 2:09 pm

Re: Waiting for configuration verification...

Post by seaward1983 »

Absolutely!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Waiting for configuration verification...

Post by scottwilkerson »

seaward1983 wrote:Absolutely!
Great!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked