Page 4 of 4

Re: Your request was not processed in a timely manner...

Posted: Mon Jun 03, 2013 10:39 pm
by GldRush98
I was just able to reproduce this problem on a brand new clean install!
I did this in VMware Workstation 9
Steps to reproduce as I just did:
-Manual install of CentOS 5.9 x64
-Download XI Source 2012R1.8 and fullinstall
-Log in to XI to verify working
-Once installed, follow the "Configuring SSL with Nagios XI" document
-Log in to XI and verify SSL is working, verify monitoring engine status is all good
-Download XI Source 2012R2.0 and upgrade
-Log in to XI once upgrade is done.
-Observe that monitoring engine status is now broken and the system is exhibiting the behaviors in this thread and other threads.

Uknowns: 32 bit / 64 bit, does it matter? Would a clean fullinstall of R2.x on 5.9 cause the break, or does it only happen in an upgrade? Is CentOS6 upgrade similarly effected, using clean installs (I couldn't reproduce with the OVF files).
Just thinking out loud... hope some of that helps you guys in troubleshooting this. I figure if you can get your own box doing this it'll be tons easier for you to troubleshoot and fix it.
Image1.png

Re: Your request was not processed in a timely manner...

Posted: Tue Jun 04, 2013 9:22 am
by slansing
Thanks for the info Gldrush,
32 bit / 64 bit, does it matter? Would a clean fullinstall of R2.x on 5.9 cause the break
To my knowledge no, I tried to reproduce this on a centos 5.9 32-bit, by doing a full install of 2.1 and it did not break, similarly it did not break with a full install to 2.1 on a 64-bit Centos 6.0 server.

Re: Your request was not processed in a timely manner...

Posted: Tue Jun 04, 2013 2:25 pm
by arnab.roy
We also have had a similar experience , we have two XI boxes one on 5.9 and one on 6.4 . The 6.4 upgrade worked just fine, not sure their could be some connection. It might be good idea to confirm what the others who are having this issue are running.

Re: Your request was not processed in a timely manner...

Posted: Tue Jun 04, 2013 3:00 pm
by slansing
We found a solution, please open the following file and make the edits suggested:

Code: Select all

vi /usr/local/nagiosxi/html/includes/utilsx.inc.php
Edit line 167 "curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,2);"

to:

Code: Select all

curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,1);
Changing the 2 to a 1. Then write this file, this should resolve your problems.

Re: Your request was not processed in a timely manner...

Posted: Tue Jun 04, 2013 3:58 pm
by arnab.roy
Well done guys ... that has fixed and also explains the behaviour difference across centos 6 and 5.

Re: Your request was not processed in a timely manner...

Posted: Tue Jun 04, 2013 4:13 pm
by lmiltchev
@ GldRush98

Is you problem fixed? Did you try the mod suggested by slansing?

Re: Your request was not processed in a timely manner...

Posted: Tue Jun 04, 2013 4:46 pm
by GldRush98
I have just applied this fix and everything is now working as it should!
Thanks for figuring this one out! :mrgreen:

This also explains why my backup XI didn't break. It was set up at a later time and was installed using the OVF image, so it came with CentOS 6.2 on it.

Re: Your request was not processed in a timely manner...

Posted: Wed Jun 05, 2013 10:20 am
by slansing
Locking as resolved.