authentication failed error for fused servers in Nagios Fusi

This support forum board is for questions relating to Nagios Fusion.
Locked
nasanasa
Posts: 3
Joined: Mon Nov 01, 2021 7:33 am

authentication failed error for fused servers in Nagios Fusi

Post by nasanasa »

I have installed Nagios XI, Nagios Log server, and Nagios Fusion. I attempted to fuse Nagios XI and Nagios Log server to Nagios Fusion. I do not get any of the data to Nagios Fusion. I get authentication failed errors. Please let me know if you have any suggestions and what information you would like me to provide to troubleshoot this issue.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: authentication failed error for fused servers in Nagios

Post by pbroste »

Hello @nasanasa

Thanks for reaching out on your Fusion install issues and want to start off by doing some verifying.

Is there any security application running, for Selinux for example:

Code: Select all

sestatus
Were there any issues with the install?

Code: Select all

less /yourinstalldir/nagiosfusion/install.log
let's verify that system date/time/timezone are sync'ed across all:

Code: Select all

date
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
grep "date.timezone =" /etc/php.ini
grep date.timezone /etc/php.ini
mysql -h 127.0.0.1 -uroot -pfusion -e 'SELECT NOW(); SELECT @@GLOBAL.time_zone, @@SESSION.time_zone;'
Please follow up and send the following via Private Message so we can see what is going on:

Code: Select all

tar -czvf /tmp/fusionlogs.tar.gz /usr/local/nagiosfusion/var/log/ /var/log/httpd/*_log /var/log/httpd/*_log-2021111[0-9] /var/log/apach2/
And system info:

Code: Select all

sudo cat /etc/os-release
 sudo uname -a
sudo hostnamectl
cat /etc/os-release
uname -a
php -v
yum repolist
Please follow up with info and send the '/tmp/fusionlogs.tar.gz' via PM.

Thanks,
Perry
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: authentication failed error for fused servers in Nagios

Post by pbroste »

Hello @nasanasa

Thanks for following up and sending over the logs, in review we see the following:
PHP script '/usr/local/nagiosfusion/cron/auth_subsys.php' is protected by SourceGuardian and requires a SourceGuardian loader 'ixed.7.2.lin' to be installed
Please run through this support article:
https://support.nagios.com/kb/article/n ... s-816.html

Please let us know how things look,
Perry
nasanasa
Posts: 3
Joined: Mon Nov 01, 2021 7:33 am

Re: authentication failed error for fused servers in Nagios

Post by nasanasa »

Greetings,

The support article that you provided seems to be related to Nagios XI. My issue is with Nagios Fusion. Do you still recommend that I follow those steps on the Nagios Fusion server?

Regards,
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: authentication failed error for fused servers in Nagios

Post by pbroste »

Hello @nasanasa

Thanks for following up, the option to repair the PHP SourceGuardian loader by running through the Fusion Upgrade.

The Download found:
https://www.nagios.com/downloads/nagios ... downloads/

Code: Select all

wget https://assets.nagios.com/downloads/nagiosfusion/4/fusion-4.1.9.tar.gz
tar xzf fusion*.tar.gz
cd nagiosfusion
./upgrade
Let us know how things are look.

Thanks,
Perry
nasanasa
Posts: 3
Joined: Mon Nov 01, 2021 7:33 am

Re: authentication failed error for fused servers in Nagios

Post by nasanasa »

Greetings,

Performing the upgrade did not make a difference. I added the following: extension=ixed.7.2.lin in /etc/php.ini and restarted the system and I am now able to see Nagios XI information in Nagios Fusion. This is good news.

Next, I did successfully Fuse Nagios Log server in Nagios Fusion and I don't see any information. What information from Nagios Log Server should be displayed into Nagios Fusion?

Regards
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: authentication failed error for fused servers in Nagios

Post by ssax »

In Fusion, go to Dashboards > Available Dashlets and add the Log Server dashlets to a dashboard to view the Log Server data:

Code: Select all

Log Server Alert History
Log Server Alerts
Log Server Cluster Health 
Log Server Cluster Statistics 
Log Server Index Statistics
Locked