New Offline Installation Instructions
New Offline Installation Instructions
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.
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.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: New Offline Installation Instructions
@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?
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.
Re: New Offline Installation Instructions
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
https://support.nagios.com/kb/article/n ... n-495.html
Re: New Offline Installation Instructions
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.
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.
Re: New Offline Installation Instructions
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
[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
Re: New Offline Installation Instructions
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.
Re: New Offline Installation Instructions
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.
[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.
Re: New Offline Installation Instructions
Run this on the server that has internet access:
Then transfer it to the /tmp directory on the NLS machine and run:
Code: Select all
wget https://rubygems.org/downloads/logstash-filter-geoip-4.0.4-java.gem
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.
Re: New Offline Installation Instructions
Thank you this worked!
Re: New Offline Installation Instructions
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.