mail -- timed out while attempting to create an incident


#1

HI All,

I had set up AWS SES SMTP and using it for sending alerts from sesnu .

I had configured all the smtp setting on postfix and also in mailer.json.

When executed check ,mail is not going and facing below error:

{“timestamp”:“2016-03-03T14:23:46.520446+0000”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:"/opt/sensu/embedded/bin/handler-mailer.rb",“name”:“mailer”},“output”:[“mail – timed out while attempting to create an incident – internal._dev.sensuclient.graphite/threshold\n”]}

Please help me where I am getting wrong.

Thanks in advance


#2

The error says it timed out.

Have you considered using the native ses handler?

···

On Thu, Mar 3, 2016 at 6:31 AM, kumar kittu <dvrkittu@gmail.com> wrote:

HI All,

I had set up AWS SES SMTP and using it for sending alerts from sesnu .

I had configured all the smtp setting on postfix and also in mailer.json.

When executed check ,mail is not going and facing below error:

{"timestamp":"2016-03-03T14:23:46.520446+0000","level":"info","message":"handler
output","handler":{"type":"pipe","command":"/opt/sensu/embedded/bin/handler-mailer.rb","name":"mailer"},"output":["mail
-- timed out while attempting to create an incident --
internal._dev.sensuclient.graphite/threshold\n"]}

Please help me where I am getting wrong.

Thanks in advance