Page 1 of 2

Nagios Network Analyzer fresh install issues

Posted: Mon Jan 05, 2026 4:19 pm
by scorpion1976
I've tried installing Nagios NA on both Centos 9 stream and Centos 10 stream, and I seem to get a login error no matter what I try. I tried using different browsers like firefox, chrome, and edge. Installed Centos stream 9 and 10 using the minimal install option, and the install commands were as follows....
(selinux was also disabled)
cd /tmp
wget https://assets.nagios.com/downloads/nag ... est.tar.gz
tar xzf nagiosna-latest.tar.gz
cd nagiosna
./fullinstall

Once installed, I try and login and always get a popup in the lower right hand corner.

Session store not set on request.
Please try again.

This is using the nagiosna-latest.tar.gz dated December 17th, md5sum (620b2296db52d9658eb833ef2485ab61 nagiosna-latest.tar.gz)

Seems like it is related to a Laravel misconfiguration, not sure though

Re: Nagios Network Analyzer fresh install issues

Posted: Wed Jan 07, 2026 10:38 am
by tsample
I have the exact same issue with a fresh install. Can't login at all.

Re: Nagios Network Analyzer fresh install issues

Posted: Wed Jan 07, 2026 11:12 am
by scorpion1976
I also tried the hyper-v disk image (nagiosna-64.vhd). Same exact problem as well.

Re: Nagios Network Analyzer fresh install issues

Posted: Wed Jan 07, 2026 11:38 am
by sgardil
Can you check a few things for me. It sounds like the session storage path that laravel uses is missing or might have the wrong permissions. Can you run this command and see what it returns?

Code: Select all

ls -ld /var/www/html/nagiosna/storage/framework/sessions

Re: Nagios Network Analyzer fresh install issues

Posted: Wed Jan 07, 2026 12:39 pm
by scorpion1976
[root@nagiosna ~]# ls -ld /var/www/html/nagiosna/storage/framework/sessions
drwxrwxr-x. 2 apache nnacmd 6 Dec 15 14:35 /var/www/html/nagiosna/storage/framework/sessions

Re: Nagios Network Analyzer fresh install issues

Posted: Wed Jan 07, 2026 3:54 pm
by sgardil
Can you run this in the terminal to make sure you have the proper ip address for your apache config and see if it fixes the issue.

Code: Select all

sed -i "s|^\s*ServerName .*|ServerName $(hostname -I | awk '{print $1}')|" "/etc/httpd/conf.d/nna.conf"

Re: Nagios Network Analyzer fresh install issues

Posted: Thu Jan 08, 2026 9:14 am
by scorpion1976
I ran the command and the correct ip is filled in, but still does not fix the login error.

Re: Nagios Network Analyzer fresh install issues

Posted: Thu Jan 08, 2026 10:41 am
by scorpion1976
Seems like the error is related to me changing the eth0 ip address from dhcp to static before running the installation. I used nmtui to change my ip address, and see the error both when this is done both before the installation is performed as well as after the installation was performed. Are static ip's supported? I will test other options. Thanks.

Re: Nagios Network Analyzer fresh install issues

Posted: Thu Jan 08, 2026 11:20 am
by sgardil
scorpion1976 wrote: Thu Jan 08, 2026 10:41 am Seems like the error is related to me changing the eth0 ip address from dhcp to static before running the installation. I used nmtui to change my ip address, and see the error both when this is done both before the installation is performed as well as after the installation was performed. Are static ip's supported? I will test other options. Thanks.
Static ip's should be fine as long things are setup correctly. If you changed the ip before doing the installation it should work correctly. Can you check your .env file to see if the ip address for the value of APP_URL is the correct ip that you are using to access the web interface? The .env should be in

Code: Select all

/var/www/html/nagiosna/.env

Re: Nagios Network Analyzer fresh install issues

Posted: Thu Jan 08, 2026 11:53 am
by scorpion1976
ok. Along with the static ip, I had a DNS host A record for the name nagiosna.mysite.com to resolve to the static ip address I was using. I was using that to access the web page, which worked fine for the initial web page, for the licensing info, and nagiosadmin password, etc.... Once I updated APP_URL in .env to use APP_URL=http://nagiosna.mysite.com, I can login.

Thanks for the help.