{"action":"opened","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-input-jmx/issues/23","repository_url":"https://api.github.com/repos/logstash-plugins/logstash-input-jmx","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-input-jmx/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-input-jmx/issues/23/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-input-jmx/issues/23/events","html_url":"https://github.com/logstash-plugins/logstash-input-jmx/issues/23","id":183524520,"number":23,"title":"Logstash stop processing metrics if one of the server stop responding","user":{"login":"alyan2008","id":7196207,"avatar_url":"https://avatars.githubusercontent.com/u/7196207?v=3","gravatar_id":"","url":"https://api.github.com/users/alyan2008","html_url":"https://github.com/alyan2008","followers_url":"https://api.github.com/users/alyan2008/followers","following_url":"https://api.github.com/users/alyan2008/following{/other_user}","gists_url":"https://api.github.com/users/alyan2008/gists{/gist_id}","starred_url":"https://api.github.com/users/alyan2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyan2008/subscriptions","organizations_url":"https://api.github.com/users/alyan2008/orgs","repos_url":"https://api.github.com/users/alyan2008/repos","events_url":"https://api.github.com/users/alyan2008/events{/privacy}","received_events_url":"https://api.github.com/users/alyan2008/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-17T20:52:56Z","updated_at":"2016-10-17T20:52:56Z","closed_at":null,"body":" have configured logstash with jmx input:\r\n\r\n`input { jmx { path => \"/opt/logstash/configs/jmx/\" polling_frequency => 10 type => \"jmx\" nb_thread => 4 } }`\r\n\r\nIn /opt/logstash/configs/jmx/ direcroty I have a list of servers with JMX port. In case of one of the server jmx stops responding, logstash stops processing metrics from all other servers. In the log I found this error: \r\n`{:timestamp=>\"2016-10-17T19:19:44.856000+0000\", :message=>\"Error unmarshaling return header; nested exception is: \\n\\tjava.io.EOFException\", :level=>:error} {:timestamp=>\"2016-10-17T19:19:44.857000+0000\", :message=>\"sun.rmi.transport.StreamRemoteCall.executeCall(sun/rmi/transport/StreamRemoteCall.java:229)\\nsun.rmi.server.UnicastRef.invoke(sun/rmi/server/UnicastRef.java:162)\\njavax.management.remote.rmi.RMIConnector.getConnectionId(javax/management/remote/rmi/RMIConnector.java:384)\\njavax.management.remote.rmi.RMIConnector.connect(javax/management/remote/rmi/RMIConnector.java:346)\\njavax.management.remote.JMXConnectorFactory.connect(javax/management/remote/JMXConnectorFactory.java:270)\\njava.lang.reflect.Method.invoke(java/lang/reflect/Method.java:498)\\nJMX::MBean.create_connection(/opt/logstash-jmx/vendor/bundle/jruby/1.9/gems/jmx4r-0.1.4/lib/jmx4r.rb:220)\\nJMX::MBean.create_connection(/opt/logstash-jmx/vendor/bundle/jruby/1.9/gems/jmx4r-0.1.4/lib/jmx4r.rb:220)\\nJMX::MBean.create_connection(/opt/logstash-jmx/vendor/bundle/jruby/1.9/gems/jmx4r-0.1.4/lib/jmx4r.rb:216)\\nJMX::MBean.create_connection(/opt/logstash-jmx/vendor/bundle/jruby/1.9/gems/jmx4r-0.1.4/lib/jmx4r.rb:216)\\nJMX::MBean.connection(/opt/logstash-jmx/vendor/bundle/jruby/1.9/gems/jmx4r-0.1.4/lib/jmx4r.rb:137)\\nJMX::MBean.connection(/opt/logstash-jmx/vendor/bundle/jruby/1.9/gems/jmx4r-0.1.4/lib/jmx4r.rb:137)\\nRUBY.thread_jmx(/opt/logstash-jmx/vendor/bundle/jruby/1.9/gems/logstash-input-jmx-2.0.4/lib/logstash/inputs/jmx.rb:217)\\nRUBY.run(/opt/logstash-jmx/vendor/bundle/jruby/1.9/gems/logstash-input-jmx-2.0.4/lib/logstash/inputs/jmx.rb:321)\\njava.lang.Thread.run(java/lang/Thread.java:745)\", :level=>:error}`\r\n\r\nWhy logstash can`t just skip problematic server and keep on processing metrics from all other servers?"}}
{"actor":{"display_login":"alyan2008"}}