Page 1 of 1
Authentication issue with Fusion 4.1.7 and nagios xi 5.5.11
Posted: Mon Aug 19, 2019 10:34 am
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
Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5
Posted: Mon Aug 19, 2019 10:43 am
by jkelly1959
Adding additional logs
Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5
Posted: Mon Aug 19, 2019 11:00 am
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/
Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5
Posted: Mon Aug 19, 2019 12:44 pm
by jkelly1959
adding mysql lib
Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5
Posted: Mon Aug 19, 2019 3:35 pm
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.
Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5
Posted: Tue Aug 20, 2019 1:41 pm
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
Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5
Posted: Tue Aug 20, 2019 1:50 pm
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 <==
Re: Authentication issue with Fusion 4.1.7 and nagios xi 5.5
Posted: Tue Aug 20, 2019 4:02 pm
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:
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?