New Offline Installation Instructions

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

New Offline Installation Instructions

Post by cgutierr »

Hello,


Can Nagios Support provide new instructions for an offline installation? The instructions I found doesn't seem to work anymore with the newest version of Python PIP.


V/R,


Chris G.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: New Offline Installation Instructions

Post by npolovenko »

@cgutierr, Are you following this instruction? I believe it should just install all rpm packages locally with yum.
https://assets.nagios.com/downloads/nag ... onment.pdf

Also, what is the version of your operating system?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

Re: New Offline Installation Instructions

Post by cgutierr »

I'm looking for offline installation instructions for Nagios Log Server not Nagios XI. Here are the instructions I was using before:

https://support.nagios.com/kb/article/n ... n-495.html
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: New Offline Installation Instructions

Post by cdienger »

What OS is this? What version of pip? Are you getting a specific error or warning message?

The steps were recently updated and should work. Any other details you can provide can help us narrow the problem down and/or update the doc.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

Re: New Offline Installation Instructions

Post by cgutierr »

This is on a RHEL7 OS with PIP version 19.1.1 as the download server. When I run this command:

[root@download]# grep 'pip install' fullinstall | sed 's/pip install/& -d \/tmp\/pipfiles\//' | source /dev/stdin

Usage:
pip install [options] <requirement specifier> [package-index-options] ...
pip install [options] -r <requirements file> [package-index-options] ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...

no such option: -d
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: New Offline Installation Instructions

Post by cdienger »

Try this instead:

Code: Select all

grep 'pip install' fullinstall | sed 's/pip install --upgrade/pip download -d \/tmp\/pipfiles\//' | source /dev/stdin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

Re: New Offline Installation Instructions

Post by cgutierr »

On the last step when I run this:

[root@nls bin]# cd /usr/local/nagioslogserver/logstash/bin/
[root@nls bin]# ./logstash-plugin install --local /tmp/logstash-input-tcp-4.2.4-java.gem
Validating /tmp/logstash-input-tcp-4.2.4-java.gem
Installing logstash-input-tcp
Plugin not found, aborting
ERROR: Installationn Aborted, message: Could not find gem 'logstash-filter-geoip
(= 4.0.4) java' in any of the gem source listed in your Gemfile or installed
on this machine.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: New Offline Installation Instructions

Post by cdienger »

Run this on the server that has internet access:

Code: Select all

wget https://rubygems.org/downloads/logstash-filter-geoip-4.0.4-java.gem
Then transfer it to the /tmp directory on the NLS machine and run:

Code: Select all

cd /usr/local/nagioslogserver/logstash/bin/
./logstash-plugin install --local /tmp/logstash-filter-geoip-4.0.4-java.gem
./logstash-plugin install --local /tmp/logstash-input-tcp-4.2.4-java.gem
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
cgutierr
Posts: 59
Joined: Tue Mar 08, 2016 1:09 pm

Re: New Offline Installation Instructions

Post by cgutierr »

Thank you this worked!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: New Offline Installation Instructions

Post by cdienger »

Thanks for the update! I'll see that the document gets updated.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked