Fusion Configuration debug

This support forum board is for questions relating to Nagios Fusion.
Locked
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Fusion Configuration debug

Post by QS1 »

Nagios XI 2011R1.7
CENTOS 5.7 32 BIT
VMWARE Image
KDE desktop

I've configured two XI servers within Fusion and have attached the configurations for both.
Question #1
Only one server is able to get connected (Power)..I can ping it from the fusion server..
The other server (CC) displays as "unresponsive"..I cannot ping it from the fusion server as ICMP is not allowed BUT the conversation can be seen building within the firewall to 443 from the fusion server. Are there any logs within fusion I can look at to troubleshoot further?

Question #2
Both servers have SSL enabled and apache is not listening on port 80 on either of them. The only way I can connect successfully with Fusion is through http://72.x.x.x...not https://.can this be explained?
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fusion Configuration debug

Post by mguthrie »

Currently there's not a good log to trace what the issue is, but I'm wondering if it's taking too long to load the status XML behind https for that server. I've seen that before on some servers. Let me see if I can send you a patched script with an increased timeout.

Our 2012 branch of Fusion will have the server timeout as a user-defined config option.
http://labs.nagios.com/2012/05/24/nagio ... 2-preview/
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fusion Configuration debug

Post by mguthrie »

I attached a patched script that you can use to increase your default timeouts.

Make a backup of the following script:

Code: Select all

cp /usr/local/nagiosfusion/html/includes/utils-servers.inc.php /tmp
Then unzip the attached file, and overwrite the following file:
/usr/local/nagiosfusion/html/includes/utils-servers.inc.php
You do not have the required permissions to view the files attached to this post.
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: Fusion Configuration debug

Post by QS1 »

I loaded the patched utils-servers.inc.php and tried..same results as original post. I edited utils-servers.inc.php to 60 just to see..still no good. Any other steps I can try?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fusion Configuration debug

Post by mguthrie »

Hmm, I'm wondering if it's a certificate issue. I know we had to do some work on the curl fetches on XI a while back for use with SSL, let me see if all of those patches got applied to Fusion as well.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fusion Configuration debug

Post by mguthrie »

I added the function fix for SSL to Fusion, replace the file:

Code: Select all

/usr/local/nagiosfusion/html/includes/utilsx.inc.php
with the one attached. This change will be in the next production release of Fusion.
You do not have the required permissions to view the files attached to this post.
QS1
Posts: 195
Joined: Tue Sep 21, 2010 3:30 pm

Re: Fusion Configuration debug

Post by QS1 »

Very Good...That seems to have worked! both monitoring servers are connected..it initially took 1-2 minutes for the browser (Firefox 3.6.23) to load the nagiosfusion/config/ webpage..but when it did both servers were green. The delay is no longer apparent when I leave the page/close the browser/or view from another terminal.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fusion Configuration debug

Post by mguthrie »

Ok, good deal! Thanks for the update!
Locked