Page 1 of 1

Waiting for configuration verification...

Posted: Mon Jul 22, 2019 2:46 pm
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.

Re: Waiting for configuration verification...

Posted: Mon Jul 22, 2019 3:14 pm
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.

Re: Waiting for configuration verification...

Posted: Tue Jul 23, 2019 7:43 am
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

Re: Waiting for configuration verification...

Posted: Tue Jul 23, 2019 3:00 pm
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

Re: Waiting for configuration verification...

Posted: Wed Jul 24, 2019 10:22 am
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!

Re: Waiting for configuration verification...

Posted: Wed Jul 24, 2019 4:12 pm
by mbellerue
Great! Glad to hear it's working! Is it okay to close this thread?

Re: Waiting for configuration verification...

Posted: Thu Jul 25, 2019 7:28 am
by seaward1983
Absolutely!

Re: Waiting for configuration verification...

Posted: Thu Jul 25, 2019 8:22 am
by scottwilkerson
seaward1983 wrote:Absolutely!
Great!

Locking