我正在使用 Logstash 神经节输入插件。Ganglia gmond 守护进程和logstash 安装在同一台机器上。Gmond 将指标发送给自己。这是gmond配置。
udp_send_channel {
host = 10.0.3.167
port = 8649
ttl = 1
}
Logstash 配置文件是这样的:
input {
ganglia {
host => "127.0.0.1"
type => "ganglia"
}
}
output {
elasticsearch {
host => "10.0.3.168"
}
}
当 logstash 连接到 gmond 单播的端口时,我收到此错误:
{:timestamp=>"2014-01-04T12:50:38.422000+0000",
:message=>"ganglia udp listener died",
:address=>"127.0.0.1:8649",
:exception=>#<SocketError: bind: name or service not known>,
:backtrace=>
[
"org/jruby/ext/socket/RubyUDPSocket.java:160:in `bind'",
"file:/etc/logstash/logstash.jar!/logstash/inputs/ganglia.rb:61:in `udp_listener'",
"file:/etc/logstash/logstash.jar!/logstash/inputs/ganglia.rb:39:in `run'",
"file:/etc/logstash/logstash.jar!/logstash/pipeline.rb:156:in `inputworker'",
"file:/etc/logstash/logstash.jar!/logstash/pipeline.rb:150:in `start_input'"
],
:level=>:warn}
任何帮助表示赞赏,在此先感谢。