Connection and configuration problems with logstash 1.5 zenoss input


#1

Hi all, I tried first IRC but it seems again to be serious case of "US channel" so nobody is awake when I am.

But to the matter at hand: I've been trying to use zenoss input but configuration parameters does not seem to affect at all and only way that I managed to logstash even try to connect right host was with AMQP URI.

Even after that connection does not work all I get is connection failures and retries. Please advice :smile:

Logstash output:

Jun 10, 2015 3:33:23 PM org.elasticsearch.node.internal.InternalNode
INFO: [logstash-localhost.localdomain-32400-8034] version[1.5.1], pid[32400], build[5e38401/2015-04-09T13:41:35Z]
Jun 10, 2015 3:33:23 PM org.elasticsearch.node.internal.InternalNode
INFO: [logstash-localhost.localdomain-32400-8034] initializing ...
Jun 10, 2015 3:33:23 PM org.elasticsearch.plugins.PluginsService
INFO: [logstash-localhost.localdomain-32400-8034] loaded [], sites []
Jun 10, 2015 3:33:24 PM org.elasticsearch.node.internal.InternalNode
INFO: [logstash-localhost.localdomain-32400-8034] initialized
Jun 10, 2015 3:33:24 PM org.elasticsearch.node.internal.InternalNode start
INFO: [logstash-localhost.localdomain-32400-8034] starting ...
Jun 10, 2015 3:33:25 PM org.elasticsearch.transport.TransportService doStart
INFO: [logstash-localhost.localdomain-32400-8034] bound_address {inet[/0:0:0:0:0:0:0:0:9301]}, publish_address {inet[/z.z.z.z:9301]}
Jun 10, 2015 3:33:25 PM org.elasticsearch.discovery.DiscoveryService doStart
INFO: [logstash-localhost.localdomain-32400-8034] elasticsearch/egxboN-pTAi6NA9RNVHXKw
E, [2015-06-10T15:33:26.115000 #32400] ERROR -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: Got an exception when receiving data: Connection reset by peer - Connection reset by peer (Errno::ECONNRESET)
W, [2015-06-10T15:33:26.124000 #32400] WARN -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: Recovering from a network failure...
Jun 10, 2015 3:33:28 PM org.elasticsearch.cluster.service.InternalClusterService$UpdateTask run
INFO: [logstash-localhost.localdomain-32400-8034] detected_master [Shi'ar Gladiator][cYIzngdhQ-WJejzkZbOwjw][localhost.localdomain][inet[/127.0.0.1:9300]], added {[Shi'ar Gladiator][cYIzngdhQ-WJejzkZbOwjw][localhost.localdomain][inet[/127.0.0.1:9300]],[logstash-localhost.localdomain-3670-15798][oQdyFHa8RG2Z07httZ8o3w][localhost.localdomain][inet[/10.1.1.214:9302]]{client=true, data=false},}, reason: zen-disco-receive(from master [[Shi'ar Gladiator][cYIzngdhQ-WJejzkZbOwjw][localhost.localdomain][inet[/127.0.0.1:9300]]])
Jun 10, 2015 3:33:28 PM org.elasticsearch.node.internal.InternalNode start
INFO: [logstash-localhost.localdomain-32400-8034] started
Logstash startup completed
W, [2015-06-10T15:33:36.128000 #32400] WARN -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: Retrying connection on next host in line: x.x.x.x:5672
E, [2015-06-10T15:33:39.145000 #32400] ERROR -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: Got an exception when receiving data: Connection reset by peer - Connection reset by peer (Errno::ECONNRESET)
W, [2015-06-10T15:33:39.148000 #32400] WARN -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: An empty frame was received while opening the connection. In RabbitMQ <= 3.1 this could mean an authentication issue.
W, [2015-06-10T15:33:39.153000 #32400] WARN -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: TCP connection failed, reconnecting in 5.0 seconds
W, [2015-06-10T15:33:49.155000 #32400] WARN -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: Retrying connection on next host in line: x.x.x.x:5672
E, [2015-06-10T15:33:52.175000 #32400] ERROR -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: Got an exception when receiving data: Connection reset by peer - Connection reset by peer (Errno::ECONNRESET)
W, [2015-06-10T15:33:52.177000 #32400] WARN -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: An empty frame was received while opening the connection. In RabbitMQ <= 3.1 this could mean an authentication issue.
W, [2015-06-10T15:33:52.180000 #32400] WARN -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: TCP connection failed, reconnecting in 5.0 seconds
W, [2015-06-10T15:34:02.182000 #32400] WARN -- #<Bunny::Session:8032 zenoss@x.x.x.x:5672, vhost=zenoss, hosts=[x.x.x.x]>: Retrying connection on next host in line: x.x.x.x:5672

My host OS is centos 7.x 64bit and logstash version is logstash-1.5.0-1

My zenoss input configuration is below.

input {
zenoss {
type => "zenoss"
host => "zenoss.local"
vhost => "/zenoss"
user => "zenoss"
password => "zenoss"
}
}


(system) #2