Page 1 of 1

Nagios Fusion not connecting to XI nodes

Posted: Mon Jan 30, 2017 1:55 pm
by kevinmjacobsen
Hey all,

I've looked around a bunch and tried various solutions for my issue but haven't had luck. I'm here for some help.
FusionServerCredentials.jpg
Nagios Fusion: Nagios Fusion 2014R1.1
Nagios XI: Nagios XI 5.4.0
No SSL config on XI systems.
Trailing / in server config.
Using IP not name for server address.

In Nagios XI I have created a user:
FusionUser.jpg
Now I think I've given enough permissions. I don't really want an admin user for this.

Here is what my Server Configs look like.
FuseionServerConfig.jpg
Any help on seeing red in the credentials screen?

Thanks,

Kevin

Re: Nagios Fusion not connecting to XI nodes

Posted: Mon Jan 30, 2017 2:18 pm
by rkennedy
When you look at the actual status, is it still polling for information? I had a remote last week, where it was reporting this information, but the page actually was updating with the host / service status information.

From the Fusion machine, is it able to resolve the hostname in the Public URL?

Please run tail -f /usr/local/nagiosfusion/var/poller.log for a bit, and post what debugs out from this file for us to review.

Re: Nagios Fusion not connecting to XI nodes

Posted: Tue Jan 31, 2017 10:19 am
by kevinmjacobsen
This is what it looked like just as I was adding two new servers & credentials

Code: Select all

[root@localhost ~]# tail -f /usr/local/nagiosfusion/var/poller.log
Saving Tac Data to DB: AZ18U1837
Saving Tac Data to DB: de08u1927
Saving Tac Data to DB: AZ18U1836
Saving Tac Data to DB: AZ18U1838
Saving Tac Data to DB: DE08U1928
Saving Tac Data to DB: DE08U1929
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/cron/poller.php on line 134
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/cron/poller.php on line 135
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/cron/poller.php on line 134
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/cron/poller.php on line 135
Polling Recent Alerts...
NAGIOSXI ALERT FETCH AZ18U1837
COUNT :0
NAGIOSXI ALERT FETCH de08u1927
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1836
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1838
COUNT :0
NAGIOSXI ALERT FETCH DE08U1928
COUNT :0
NAGIOSXI ALERT FETCH DE08U1929
COUNT :0
NAGIOSXI ALERT FETCH DE08U1956
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 521
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 522
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1878
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 521
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 522
COUNT :0
Polling Top Alert Producers...
TRUNCATING topalertproducers table
Saved top alert producers for AZ18U1837
Saved top alert producers for de08u1927
Saved top alert producers for AZ18U1836
Saved top alert producers for AZ18U1838
Saved top alert producers for DE08U1928
Saved top alert producers for DE08U1929
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 521
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 522
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 521
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 522
Saved top alert producers for AZ18U1878
2 callbacks run
***GET DATA!***
RUNTIME: 33 INTERVAL: 33 POLL INTERVAL: 30
Saving Tac Data to DB: AZ18U1837
Saving Tac Data to DB: de08u1927
Saving Tac Data to DB: AZ18U1836
Saving Tac Data to DB: AZ18U1838
Saving Tac Data to DB: DE08U1928
Saving Tac Data to DB: DE08U1929
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/cron/poller.php on line 134
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/cron/poller.php on line 135
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/cron/poller.php on line 134
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/cron/poller.php on line 135
Polling Recent Alerts...
NAGIOSXI ALERT FETCH AZ18U1837
COUNT :0
NAGIOSXI ALERT FETCH de08u1927
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1836
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1838
COUNT :0
NAGIOSXI ALERT FETCH DE08U1928
COUNT :0
NAGIOSXI ALERT FETCH DE08U1929
COUNT :0
NAGIOSXI ALERT FETCH DE08U1956
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 521
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 522
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1878
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 521
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 522
COUNT :0
2 callbacks run
Loop time: 30 seconds
...***GET DATA!***
RUNTIME: 93 INTERVAL: 30 POLL INTERVAL: 30
Saving Tac Data to DB: AZ18U1837
Saving Tac Data to DB: de08u1927
Saving Tac Data to DB: AZ18U1836
Saving Tac Data to DB: AZ18U1838
Saving Tac Data to DB: DE08U1928
Saving Tac Data to DB: DE08U1929
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/cron/poller.php on line 134
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/cron/poller.php on line 135
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/cron/poller.php on line 134
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/cron/poller.php on line 135
Polling Recent Alerts...
NAGIOSXI ALERT FETCH AZ18U1837
COUNT :0
NAGIOSXI ALERT FETCH de08u1927
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1836
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1838
COUNT :0
NAGIOSXI ALERT FETCH DE08U1928
COUNT :0
NAGIOSXI ALERT FETCH DE08U1929
COUNT :0
NAGIOSXI ALERT FETCH DE08U1956
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 521
PHP Notice:  Undefined index: 7v5bch in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 522
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1878
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 521
PHP Notice:  Undefined index: 03b962 in /usr/local/nagiosfusion/html/includes/utils-servers.inc.php on line 522
COUNT :0
2 callbacks run
Loop time: 29 seconds
...***GET DATA!***
RUNTIME: 152 INTERVAL: 30 POLL INTERVAL: 30
Saving Tac Data to DB: AZ18U1837
Saving Tac Data to DB: de08u1927
Saving Tac Data to DB: AZ18U1836
Saving Tac Data to DB: AZ18U1838
Saving Tac Data to DB: DE08U1928
Saving Tac Data to DB: DE08U1929
PHP Notice:  Undefined index: SERVER_PORT in /usr/local/nagiosfusion/html/includes/utils.inc.php on line 581
PHP Notice:  Undefined index: SERVER_PORT in /usr/local/nagiosfusion/html/includes/utils.inc.php on line 582
PHP Notice:  Undefined index: SERVER_NAME in /usr/local/nagiosfusion/html/includes/utils.inc.php on line 586
Saving Tac Data to DB: DE08U1956
        SQL: INSERT INTO fusion_tac_data (server_id,server_sid,server_name,last_update_time,error,error_message)
                                                        VALUES (0,'7v5bch','DE08U1956',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:        VALUES (0,'7v5bch','DE08U1956',1,NOW(),1,'1','<span c...
                                                        ^Saving Tac Data to DB: AZ18U1878
Polling Recent Alerts...
NAGIOSXI ALERT FETCH AZ18U1837
COUNT :0
NAGIOSXI ALERT FETCH de08u1927
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1836
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1838
COUNT :0
NAGIOSXI ALERT FETCH DE08U1928
COUNT :0
NAGIOSXI ALERT FETCH DE08U1929
COUNT :0
NAGIOSXI ALERT FETCH DE08U1956
COUNT :0
NAGIOSXI ALERT FETCH AZ18U1878
COUNT :0
2 callbacks run
Loop time: 30 seconds
..^C

Re: Nagios Fusion not connecting to XI nodes

Posted: Tue Jan 31, 2017 1:25 pm
by rkennedy
It looks like poller is running - could you also see the other question?

Code: Select all

When you look at the actual status, is it still polling for information? I had a remote last week, where it was reporting this information, but the page actually was updating with the host / service status information.

Re: Nagios Fusion not connecting to XI nodes

Posted: Tue Jan 31, 2017 3:41 pm
by kevinmjacobsen
I guess so here is a snap of the status screen of fused servers.
Status.jpg
So is something broken if the credentials pages just shows all red like that? Or is it just a glitch in fusion?

Re: Nagios Fusion not connecting to XI nodes

Posted: Tue Jan 31, 2017 3:45 pm
by rkennedy
It appears to be just a GUI error based on what I was seeing in my testing - does this number lookg accurate to what you're expecting?

There is a new version of Fusion in the works, which should be released in the very near future and is a complete rewrite. Once it's released, I suspect bugs like this will vanish.

Re: Nagios Fusion not connecting to XI nodes

Posted: Wed Mar 01, 2017 2:13 pm
by tmcdonald
Just checking in since we have not heard from you in a while. Did @rkennedy's post clear things up or has the issue otherwise been resolved?