我正在使用sensu邮件处理程序遇到一些问题,请帮我解决这个问题
我认为我正面临港口问题,有没有人有任何想法。
"输出":[" /opt/sensu/embedded/lib/ruby/2.3.0/net/smtp.rb:542:in
initialize': execution expired (Net::OpenTimeout)\n\tfrom /opt/sensu/embedded/lib/ruby/2.3.0/net/smtp.rb:542:in
打开' \ n \ t来自/opt/sensu/embedded/lib/ruby/2.3.0/net/smtp.rb:542:intcp_socket'\n\tfrom /opt/sensu/embedded/lib/ruby/2.3.0/net/smtp.rb:552:in
阻止在do_start' \ n \ t来自/ opt / sensu / embedded / lib / ruby / 2.3.0 / timeout.rb:101:intimeout'\n\tfrom /opt/sensu/embedded/lib/ruby/2.3.0/net/smtp.rb:551:in
do_start' \ n \ t from /opt/sensu/embedded/lib/ruby/2.3.0/net/smtp.rb:521 :在start'\n\tfrom /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/network/delivery_methods/smtp.rb:113:in
发送!' \ n \ t来自/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/message.rb: 2149:在do_delivery'\n\tfrom /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:239:in
发送' \ n \ t来自/opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/mail.rb:141 :在deliver'\n\tfrom /etc/sensu/handlers/handler-mailer.rb:233:in
救援处理' \ n \ t来自/etc/sensu/handlers/handler-mailer.rb:218:inhandle'\n\tfrom /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/sensu-plugin-1.3.0/lib/sensu-handler.rb:57:in
阻止' \ n"]
答案 0 :(得分:0)
终于找到了问题,防火墙阻塞了端口587。