mperham / inspeqtor

Monitor your application infrastructure!
GNU General Public License v3.0
1.66k stars 72 forks source link

Alerting via Amazon SES #143

Closed jsimpson closed 7 years ago

jsimpson commented 7 years ago

I'm trying to configure Inspeqtor to send alerts using Amazon SES. The Amazon SES documentation suggests that this is possible via STARTTLS and/or SMTPS. I put the following in to my configuration file:

send alerts via email with
  username: ...,
  password: ...,
  smtp_server email-smtp.us-west-2.amazonaws.com,
  tls_port 587,
  to_email ...,
  from_email ...

The username and password were copied from known-working configurations on the same server and also checked and re-checked multiple times. However, when Inspeqtor runs and if I force a host alert I get a 530 error back ("Error firing event: 530 Authentication required").

Is there something wrong with my configuration or is this simply not supported? Also, thanks for such an amazing (and sane) monitoring tool!

jsimpson commented 7 years ago

This error message (530) was very misleading to me, especially so since this was the first time I encountered it. I believe that my IT team has configured the e-mail address that I wish to send alerts to to only receive e-mail from same-domain accounts and that this is what the error message is indicating. Sorry for any trouble!