Page 1 of 1

Fusion Configuration debug

Posted: Fri May 25, 2012 12:44 pm
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?

Re: Fusion Configuration debug

Posted: Tue May 29, 2012 9:18 am
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/

Re: Fusion Configuration debug

Posted: Tue May 29, 2012 9:39 am
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

Re: Fusion Configuration debug

Posted: Tue May 29, 2012 2:15 pm
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?

Re: Fusion Configuration debug

Posted: Tue May 29, 2012 4:50 pm
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.

Re: Fusion Configuration debug

Posted: Wed May 30, 2012 9:36 am
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.

Re: Fusion Configuration debug

Posted: Wed May 30, 2012 11:55 am
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.

Re: Fusion Configuration debug

Posted: Wed May 30, 2012 1:51 pm
by mguthrie
Ok, good deal! Thanks for the update!