Authentication issue with Fusion 4.1.7 and nagios xi 5.5.11

This support forum board is for questions relating to Nagios Fusion.
Locked
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Authentication issue with Fusion 4.1.7 and nagios xi 5.5.11

Post by jkelly1959 »

On our fusion server we have defined our Nagios XI server to be fused.
Authentication test works find and config for that server is saved.
However Red indicator on Upper bar indicating "There are some Problems!" and shows the nagios xi server is red.
Curiously when I click on the red lighted server in the drop down it takes me to an empty definition.
But when I go to Manged Fused Servers and edit the definition the definition is fine and the Authentication test still works.


NOTE:...xi server has ssl cert. Fusion running without at the moment

added mariadb log in reply
You do not have the required permissions to view the files attached to this post.
Last edited by jkelly1959 on Mon Aug 19, 2019 12:45 pm, edited 2 times in total.
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5

Post by jkelly1959 »

Adding additional logs
You do not have the required permissions to view the files attached to this post.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5

Post by mbellerue »

This is pretty peculiar. Do you have another host to add? This really feels like it's having trouble creating the entry in the database. In my experience, when you put fuse data into those fields, like server name, fusekey, and username/password, that information stays there whether or not it is successful in validating the connection. The fact that you're going back to the Fuse A Server page, and the data isn't populated is very strange indeed.

Can you provide the database error log? It should be in /var/log/mysql/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5

Post by jkelly1959 »

adding mysql lib
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5

Post by ssax »

That click to empty definition is a bug, I'm able replicate it on mine, I'm looking for a workaround, I am unable to find a workaround at the moment.

Please run this command and send me the resulting /tmp/HTTPDFILES.zip file:

Code: Select all

zip -r /tmp/HTTPDFILES.zip /etc/httpd/conf/httpd.conf /etc/httpd/conf.d/
Please go to Admin > System Settings:
- Set Log Level Trace
- Check both boxes for these:

Code: Select all

Enable writing log data to the specified file
Enable writing debug data to the specified file. 
- Click the Update Settings button

Then go to Admin, click the gear icon next to polling locks if there any polling locks.

Now run this tail command (and leave it running):

Code: Select all

tail -Fn0 /usr/local/nagiosfusion/var/*.log
Please attach your /etc/php.ini file as well from your fusion server.
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5

Post by jkelly1959 »

I ran the zip setup the debugs in Admin then noticed the Fused servers were green?!

I had trouble su ing to the nagios id on that server the other day. This morning I push a new password to it via out pswd tool.
It appears the nagios id on that server had expired......

Looks oks now from a general standpoint but when I click on the server name(even though it is green) the entries still look empty will send the zip and start the tail
jkelly1959
Posts: 49
Joined: Tue Jun 06, 2017 10:59 am

Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5

Post by jkelly1959 »

Added files and here is tail output so far(note had to go one more dir in):

[nagios@lnxvnaghq004 log]$ tail -Fn0 /usr/local/nagiosfusion/var/log/*.log
==> /usr/local/nagiosfusion/var/log/auth_subsys.log <==

==> /usr/local/nagiosfusion/var/log/cmd_subsys.log <==

==> /usr/local/nagiosfusion/var/log/dberrors.log <==

==> /usr/local/nagiosfusion/var/log/dbmaint_subsys.log <==

==> /usr/local/nagiosfusion/var/log/fusion.log <==

==> /usr/local/nagiosfusion/var/log/log_subsys.log <==

==> /usr/local/nagiosfusion/var/log/poll_subsys.2.nagiosadmin.log <==

==> /usr/local/nagiosfusion/var/log/poll_subsys.3.nagiosadmin.log <==

==> /usr/local/nagiosfusion/var/log/poll_subsys.log <==

==> /usr/local/nagiosfusion/var/log/sysstat_subsys.log <==

==> /usr/local/nagiosfusion/var/log/poll_subsys.3.nagiosadmin.log <==

==> /usr/local/nagiosfusion/var/log/log_subsys.log <==
LOG SUBSYS STARTED
MAX TIME: 60
START TIME: 1566326761
END TIME: 1566326763
LOG SUBSYS STARTED
MAX TIME: 60
START TIME: 1566326821
END TIME: 1566326822
LOG SUBSYS STARTED
MAX TIME: 60
START TIME: 1566326881
END TIME: 1566326882
LOG SUBSYS STARTED
MAX TIME: 60
START TIME: 1566326942
END TIME: 1566326942

==> /usr/local/nagiosfusion/var/log/poll_subsys.2.nagiosadmin.log <==
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5

Post by ssax »

Please edit your /etc/php.ini and change these:

Code: Select all

max_execution_time = 30

max_input_time = 60

; max_input_vars = 1000

memory_limit = 128M
To this:

Code: Select all

max_execution_time = 300

max_input_time = 300

max_input_vars = 100000

memory_limit = 1G
Then restart apache:

Code: Select all

service httpd restart
What do you have set for Admin > System Settings > Data & Polling?

The rest of the info looks fine, if it fails again, grab that info again while it's failing.

Is is still showing green?

What do you have for the polling settings on that specific server (as well, edit the server and show me the info there as well).

How many XI users to do you have? A lot? How many total hosts/services on that XI system?
Locked