i am facing some issue using sensu mailer handler, please help me out to solve this issue
i think i am facing port issue, does anyone have any idea.
"output":["/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
open'\n\tfrom /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
block in do_start'\n\tfrom /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\tfrom /opt/sensu/embedded/lib/ruby/2.3.0/net/smtp.rb:521:instart'\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
deliver!'\n\tfrom /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:2149:indo_delivery'\n\tfrom /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/message.rb:239:in
deliver'\n\tfrom /opt/sensu/embedded/lib/ruby/gems/2.3.0/gems/mail-2.6.4/lib/mail/mail.rb:141:indeliver'\n\tfrom /etc/sensu/handlers/handler-mailer.rb:233:in
rescue in handle'\n\tfrom /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
block in '\n"]
Finally found the issue, firewall is blocking port 587.