Fused Server Unresponsive and Timeout

This support forum board is for questions relating to Nagios Fusion.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Fused Server Unresponsive and Timeout

Post by TBT »

When adding a new fused server in Nagios Fusion 2012R1.3, Server Status is Unresponsive and Auth Check is Server Timedout.

Looking in /usr/local/nagiosfusion/var/poller.log I see the following errors:
..***GET DATA!***
RUNTIME: 210 INTERVAL: 30 POLL INTERVAL: 30
PHP Notice: Undefined index: SERVER_PORT in /usr/local/nagiosfusion/html/includes/utils.inc.php on line 507
PHP Notice: Undefined index: SERVER_PORT in /usr/local/nagiosfusion/html/includes/utils.inc.php on line 508
PHP Notice: Undefined index: SERVER_NAME in /usr/local/nagiosfusion/html/includes/utils.inc.php on line 512
Saving Tac Data to DB: Network Applications
SQL: INSERT INTO fusion_tac_data (server_id,server_sid,server_name,last_update_time,error,error_message)
VALUES (0,'3jt44v','Network Applications',1,NOW(),1,'1','<span class="tacservertimeout"><img src="http://:/nagiosfusion/images/critical_small.png"> A timeout occurred while attempting to contact the server.</span>') SQL Error [nagiosfusion] :</b> ERROR: INSERT has more expressions than target columns
LINE 2: ...LUES (0,'3jt44v','Network Applications',1,NOW(),1,'1','<span...
^Polling Recent Alerts...
NAGIOSXI ALERT FETCH Network Applications
COUNT :0
2 callbacks run
Also, in the Apache error log:
[Fri Dec 07 08:56:47 2012] [error] [client IP] PHP Notice: Undefined index: 3jt44v in /usr/local/nagiosfusion/html/includes/utils-menu.inc.php on line 932, referer: https://domain/nagiosfusion/config/
[Fri Dec 07 08:57:06 2012] [error] [client IP] PHP Notice: Undefined index: 3jt44v in /usr/local/nagiosfusion/html/includes/utils-menu.inc.php on line 932, referer: https://domain/nagiosfusion/admin/
[Fri Dec 07 08:57:09 2012] [error] [client IP] PHP Notice: Undefined index: 3jt44v in /usr/local/nagiosfusion/html/includes/utils-menu.inc.php on line 932, referer: https://domain/nagiosfusion/config/main.php
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fused Server Unresponsive and Timeout

Post by mguthrie »

Can you post a screenshot of the Admin->Manage Fused Servers->(broken server) page? I'd like to glance at the info you entered. You can send me a PM if there's any private information there.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fused Server Unresponsive and Timeout

Post by mguthrie »

You might need to add that host name to the /etc/hosts file on the Fusion server. It's possible that the Fusion server doesn't know how to resolve that address.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Fused Server Unresponsive and Timeout

Post by TBT »

Fixed. But that would suggest it doesn't use just IP address as the text field states.

Thanks.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fused Server Unresponsive and Timeout

Post by mguthrie »

IP is safer, for the reason you experienced, but yes, it will accept a host name as well.
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Fused Server Unresponsive and Timeout

Post by TBT »

Also tried using an IP address in that field and it was still unreachable. Is there some type of reverse look-up going on?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Fused Server Unresponsive and Timeout

Post by mguthrie »

Huh, that's weird. No, it just does a curl http request under the hood to fetch information from XI's API. It's be similar to just running something like:

Code: Select all

curl www.example.com
from the command-line.
Locked