Facing issue on installing latest version of nagios server

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Thanis
Posts: 17
Joined: Wed Nov 01, 2017 3:53 am

Facing issue on installing latest version of nagios server

Post by Thanis »

Hi ,
I am trying to install Nagios log server latest version behind the proxy server.
while installing I am facing issue.
I have added the "install.log" file as 'install.txt' file for your references
Please anyone give the solution
You do not have the required permissions to view the files attached to this post.
Thanis
Posts: 17
Joined: Wed Nov 01, 2017 3:53 am

Issue on argparse while installing nagios log server

Post by Thanis »

Hi
Someone please guide me on installing . I am facing issue while installing log server

output on running the fullinstall script

Package php-ldap-5.4.16-43.el7_4.x86_64 already installed and latest version
Package php-devel-5.4.16-43.el7_4.x86_64 already installed and latest version
Package python-2.7.5-58.el7.x86_64 already installed and latest version
Package python2-pip-8.1.2-5.el7.noarch already installed and latest version
Nothing to do
27 Feb 13:59:45 ntpdate[8575]: adjust time server 10.244.0.1 offset 0.001917 sec
Collecting argparse
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x18cf350>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/argparse/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x18cf610>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/argparse/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x18cf810>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/argparse/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x18cf750>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/argparse/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x18cfc10>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/argparse/
Could not find a version that satisfies the requirement argparse (from versions: )
No matching distribution found for argparse

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.

The step that failed was: 'prereqs'
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Facing issue on installing latest version of nagios serv

Post by scottwilkerson »

Is this server on the internet?

The error is pointing to not being able to resolve DNS
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Thanis
Posts: 17
Joined: Wed Nov 01, 2017 3:53 am

Re: Facing issue on installing latest version of nagios serv

Post by Thanis »

Hi Scott,

Yes, Internet connection is available to this server via proxy.

we have DNS which allows the other servers in the same network to access the sites on browsers.

Do I need to give host entry in this file /etc/host to resolve?

Moreover, please find the attachment for your references

Please do the needful to sort the issue
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Facing issue on installing latest version of nagios serv

Post by scottwilkerson »

To be clear, did you followed this document for offline install of Log Server?

https://support.nagios.com/kb/article/n ... n-495.html

Because if you did, it shouldn't be running many of these commands.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Thanis
Posts: 17
Joined: Wed Nov 01, 2017 3:53 am

Re: Facing issue on installing latest version of nagios serv

Post by Thanis »

I followed the same document.However, I am facing the issue

When I try curl or wget to the pyi.python.org website
It throws an error like proxy authentication failed something like that
Thanis
Posts: 17
Joined: Wed Nov 01, 2017 3:53 am

Re: Facing issue on installing latest version of nagios serv

Post by Thanis »

Do I need to edit stuffs in configuration file such as yum.conf and in wgetrc files
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Facing issue on installing latest version of nagios serv

Post by scottwilkerson »

you will
here is some cursory info on how to setup those
https://support.nagios.com/kb/article.php?id=147

Additionally, here is some common setup for using proxies on linux environments
https://www.cyberciti.biz/faq/linux-uni ... -variable/
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Thanis
Posts: 17
Joined: Wed Nov 01, 2017 3:53 am

Re: Facing issue on installing latest version of nagios serv

Post by Thanis »

Hi,

I followed offline document, on running the below command. output is below.
please , give me precise solution.

Please find time to go through the logs of the previous post.

#grep 'pip install' nagioslogserver/fullinstall | sed 's/pip install/& --no-index --find-links \/tmp\/pipfiles\//' | source /dev/stdin

output:-
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Ignoring indexes: https://pypi.python.org/simple
Collecting argparse
Could not find a version that satisfies the requirement argparse (from versions: )
No matching distribution found for argparse

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Facing issue on installing latest version of nagios serv

Post by scottwilkerson »

I don't think you read the document here:
https://support.nagios.com/kb/article/n ... n-495.html
This KB article shows you how to modify the installation so it does not require internet access. However you will still need to download some packages on a computer that has internet access and then transfer those packages to your offline server.
The whole TOP chunk of thing need to be done on a server that HAS internet access (called the "Download Server"), and then transferred to the actual server ("Offline Server") for installation.

There is a section of command that you run on each server.
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked