Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin nagios_nsca doesn't work #2213

Closed
pulecp opened this issue Dec 10, 2014 · 2 comments
Closed

plugin nagios_nsca doesn't work #2213

pulecp opened this issue Dec 10, 2014 · 2 comments

Comments

@pulecp
Copy link

pulecp commented Dec 10, 2014

Hi,
I have problem with nagios_nsca plugin on following setup:

logstash: 1.4.2-1_2c0f5a1
kernel: 2.6.32-358.14.1.el6.x86_64
java: version "1.7.0_25"
OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

run of plugin is ending with following error:


{:timestamp=>"2014-12-10T08:35:52.571000+0100", :message=>"Backtrace", :backtrace=>["org/jruby/RubyIO.java:2097:in `close'", 
"/opt/logstash/lib/logstash/outputs/nagios_nsca.rb:119:in `receive'", "org/jruby/RubyIO.java:4433:in `popen3'", 
"file:/opt/logstash/vendor/jar/jruby-complete-1.7.11.jar!/META-INF/jruby.home/lib/ruby/1.9/open3.rb:74:in `popen3'", 
"/opt/logstash/lib/logstash/outputs/nagios_nsca.rb:117:in `receive'", "/opt/logstash/lib/logstash/outputs/base.rb:86:in `handle'", "(eval):44:in 
`initialize'", "org/jruby/RubyProc.java:271:in `call'", "/opt/logstash/lib/logstash/pipeline.rb:266:in `output'", 
"/opt/logstash/lib/logstash/pipeline.rb:225:in `outputworker'", "/opt/logstash/lib/logstash/pipeline.rb:152:in `start_outputs'"], :level=>:debug}

I unsuccessfully tried fix described here: https://logstash.jira.com/browse/LOGSTASH-2286

@pulecp
Copy link
Author

pulecp commented Dec 16, 2014

I fixed this issue by change permissions of /etc/nagios/send_nsca.cfg and applying last commit 65af91d#diff-500fd9a684b81793ef562ef7eba8db0b

@jordansissel
Copy link
Contributor

For Logstash 1.5.0, we've moved all plugins to individual repositories, so I have moved this issue to logstash-plugins/logstash-output-nagios_nsca#3. Let's continue the discussion there! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants