Waiting for configuration verification.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mccollege
Posts: 45
Joined: Fri Jan 14, 2011 10:06 am

Re: Waiting for configuration verification.

Post by mccollege »

Try increasing the max execution time for a php script in your /etc/php.ini file and see if that does anything. Crank it up to 60 seconds as a test.
No change.
Do you have any special configurations on your system, such as a proxy, or SSL?
We're redirecting http traffic to https.
On a sidenote, we generally recommend the latest release, as it has the latest features and bug fixes.
We started out with the ( I think 2009R1.3C ) VM you had released. When we had added most of our clients, we took a snapshot of the vm. When this same problem had happened, we upgraded to the newest version at the time ( 2009R1.3D ) but that didn't resolve the problem. When we rolled back to the snapshot the system was working correctly, so I upgraded to it's current version ( 2009R1.3G ) and the system was still working correctly. The system had been running about 2 weeks when I noticed it again started the behavior I created this thread for.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Waiting for configuration verification.

Post by rdedon »

mccollege wrote:
We're redirecting http traffic to https.
In what manner or how did you redirect?
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mccollege
Posts: 45
Joined: Fri Jan 14, 2011 10:06 am

Re: Waiting for configuration verification.

Post by mccollege »

I added:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

to the httpd.conf
mccollege
Posts: 45
Joined: Fri Jan 14, 2011 10:06 am

Re: Waiting for configuration verification.

Post by mccollege »

I added:

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

to the httpd.conf
Ok, I was going over my notes and in /etc/httpd/conf.d/nagiosxi.conf, line 2, I had uncommented "SSLRequreSSL"

Commenting out the Rewrite lines, and re-commenting "SSLRequireSSL" -seemed- to resolve my problem.

So what's the proper way to force https for nagios without breaking it?
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Waiting for configuration verification.

Post by rdedon »

You should just be able to go to:
-Configure
-Run Monitoring Wizard
-Website
-Enter URL
-Check that Use SSL is enabled and port along with whatever Services you would like monitored
-Continue through next steps

Hopefully this helps! :-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mccollege
Posts: 45
Joined: Fri Jan 14, 2011 10:06 am

Re: Waiting for configuration verification.

Post by mccollege »

Ok, I was going over my notes and in /etc/httpd/conf.d/nagiosxi.conf, line 2, I had uncommented "SSLRequreSSL"

Commenting out the Rewrite lines, and re-commenting "SSLRequireSSL" -seemed- to resolve my problem.

So what's the proper way to force https for nagios without breaking it?
Would doing the http rewrite cause any problems with nagiosxi?

I'm not sure why, reverting these changes appears to have resolved my issue?
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: Waiting for configuration verification.

Post by rdedon »

I have also tried a rewrite from there with non-functioning results if I recall correctly.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mccollege
Posts: 45
Joined: Fri Jan 14, 2011 10:06 am

Re: Waiting for configuration verification.

Post by mccollege »

I have also tried a rewrite from there with non-functioning results if I recall correctly.
Is this a bug?

Or is there another way to use redirect/force https use in nagiosxi?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Waiting for configuration verification.

Post by mguthrie »

I wouldn't say we have a "right" way to force SSL on Nagios XI. I know many users have done it, some with mixed results. Nagios XI should detect https, but I know the CCM requires that https must specified manually in the Configure->Core Config Manager->Config Manager Admin->Config Manager Settings page. Actually, that could have been the issue you were running into, since the reconfigure_nagios.sh and the Apply Configuration calls CCM scripts to execute. We also just posted a fix for R2011 that should also detect https for grabbing the performance graphs as well. So long story short, if you find a way to force https site-wide and get it working correctly, if you could post what you did, we'll probably repost it on our wiki and document it as the "right" way ;).