Nagios NA 2.4.2 on RHEL 7.9

This support forum board is for support questions relating to Nagios Network Analyzer, our network traffic and bandwidth analysis solution.
Post Reply
makruger
Posts: 2
Joined: Thu Aug 07, 2025 3:33 pm

Nagios NA 2.4.2 on RHEL 7.9

Post by makruger »

Hello,

Trying to set up a test environment of Nagios NA 2.4.2 on RHEL 7.9.
The install log says everything completed correctly, however I am unable to access the web URL to complete the install.

The requested URL /nagiosna/install was not found on this server.

Looking closer at the install.log I found this:

Code: Select all

Checking .pth file support in usr/local/lib64/python2.7/site-packages/
/bin/python -E -c pass
TEST FAILED: usr/local/lib64/python2.7/site-packages/ does NOT support .pth files
error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    usr/local/lib64/python2.7/site-packages/

and your PYTHONPATH environment variable currently contains:

    ''

Here are some of your options for correcting the problem:

* You can choose a different installation directory, i.e., one that is
  on PYTHONPATH or supports .pth files

* You can add the installation directory to the PYTHONPATH environment
  variable.  (It must then also be on PYTHONPATH whenever you run
  Python and want to use the package(s) you are installing.)

* You can set up the installation directory to support ".pth" files by
  using one of the approaches described here:

  https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations
I'm not really proficient with Linux or how to set the proper Python path, so not really sure how to resolve this. When I grep env for python is returns nothing, but doing a which python shows "/bin/python".

Suggestions?
makruger
Posts: 2
Joined: Thu Aug 07, 2025 3:33 pm

Re: Nagios NA 2.4.2 on RHEL 7.9

Post by makruger »

Looks like everything was working all along....I just didn't realize it.

I was trying to go to https://hostname and should have been going to http://hostname.
sgardil
Posts: 355
Joined: Wed Aug 09, 2023 9:58 am

Re: Nagios NA 2.4.2 on RHEL 7.9

Post by sgardil »

makruger wrote: Fri Aug 08, 2025 12:05 pm Looks like everything was working all along....I just didn't realize it.

I was trying to go to https://hostname and should have been going to http://hostname.
Hey @Makruger

I'm glad you found the fix for what was happening. This was fixed on the latest update (2024R2.1). Along side this there were several nice fixes including some security related ones added, so if you feel comfortable upgrading it is recommended. Rhel 7 did get deprecated in 2024R2 so it would require a migration to a newer linux distro so it will be a bit of a bigger lift than one upgrade. I will attach a link to our changelog if you would like to view the changes that have been added.
https://www.nagios.com/changelog/#network-analyzer
Asher Morgan
Posts: 1
Joined: Thu Sep 04, 2025 4:33 am

Re: Nagios NA 2.4.2 on RHEL 7.9

Post by Asher Morgan »

sgardil wrote: Thu Aug 14, 2025 9:15 am
makruger wrote: Fri Aug 08, 2025 12:05 pm Looks like everything was working all along....I just didn't realize it.

I was trying to go to https://hostname and should have been going to http://hostname.
Hey @Makruger

I'm glad you found the fix for what was happening. This was fixed on the latest update (2024R2.1). Along side this there were several nice fixes including some security related ones added, so if you feel comfortable upgrading it is recommended. Rhel 7 did get deprecated in 2024R2 so it would require a migration to a newer linux distro so it will be a bit of a bigger lift than one upgrade. I will attach a link to our changelog if you would like to view the changes that have been added.
https://www.nagios.com/changelog/#network-analyzer deer adventure
Yeah, that mix-up between http:// and https:// gets all of us at some point. Thanks for pointing out the 2024R2.1 update too — the extra fixes and security patches sound worth the upgrade. I’ll check out the changelog link you shared. Appreciate it!
sgardil
Posts: 355
Joined: Wed Aug 09, 2023 9:58 am

Re: Nagios NA 2.4.2 on RHEL 7.9

Post by sgardil »

Asher Morgan wrote: Thu Sep 04, 2025 4:35 am
Yeah, that mix-up between http:// and https:// gets all of us at some point. Thanks for pointing out the 2024R2.1 update too — the extra fixes and security patches sound worth the upgrade. I’ll check out the changelog link you shared. Appreciate it!
Yeah its an easy one to miss. We are glad we can help, most of the development effort has been on XI and NLS but NNA is starting to get more love. I can't go into details but if you want to keep an eye out, I think there are changes coming that users will really like.
Post Reply