Error running bundle install on Nagios Log Server

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
Sampath.Basireddy
Posts: 252
Joined: Wed Dec 14, 2016 12:30 pm

Error running bundle install on Nagios Log Server

Post by Sampath.Basireddy »

Hello There,

Am trying to configure logstash input plugin for Okta. Instructions at this link: https://github.com/SecurityRiskAdvisors ... system_log


Using below command, I created a new plugin:

Code: Select all

[root@nagioslsd1 bin]# ./logstash-plugin generate --type input --name logstash-input-okta --path /usr/local/Logstash-okta/plugin
 Creating /usr/local/Logstash-okta/plugin/logstash-input-logstash-input-okta
	 create logstash-input-logstash-input-okta/CHANGELOG.md
	 create logstash-input-logstash-input-okta/CONTRIBUTORS
	 create logstash-input-logstash-input-okta/DEVELOPER.md
	 create logstash-input-logstash-input-okta/Gemfile
	 create logstash-input-logstash-input-okta/LICENSE
	 create logstash-input-logstash-input-okta/README.md
	 create logstash-input-logstash-input-okta/Rakefile
	 create logstash-input-logstash-input-okta/lib/logstash/inputs/logstash-input-okta.rb
	 create logstash-input-logstash-input-okta/logstash-input-logstash-input-okta.gemspec
	 create logstash-input-logstash-input-okta/spec/inputs/logstash-input-okta_spec.rb
As per the instruction, am installing dependencies, not entirely sure if it is necessary or not, but when I run bundle install, I get below error:

Code: Select all

[root@nagioslsd1 bin]$ bundle install
Fetching source index from https://rubygems.org/
Resolving dependencies...
Could not find gem 'logstash-core (= 2.4.1) ruby' in the gems available on this machine.
And when I try to install plugin I get an error:

Code: Select all

[root@nagioslsd1 bin]# ./logstash-plugin install --no-verify
Installing...
WARNING: SSLSocket#session= is not supported
Plugin not found, aborting
ERROR: Installation Aborted, message: Could not find gem 'logstash-input-okta_system_log-master (>= 0) java' in any of the gem sources listed in your Gemfile or installed on this machine.
I tried building a gemfile and got below error:

Code: Select all

[root@nagioslsd1 logstash-input-logstash-input-okta]# gem build logstash-input-logstash-input-okta.gemspec
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    "FIXME" or "TODO" is not a description
Please suggest.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Error running bundle install on Nagios Log Server

Post by cdienger »

Try installing it instead by running this from the NLS command line:

Code: Select all

/usr/local/nagioslogserver/logstash/bin/install logstash-input-okta_enterprise
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked