Hi Nathaniel, How do I setup email alsert in Kapacitor?
I am getting error - E! smtp service not enabled, cannot send email. Below are the snippet of Logs, Kapacitor.conf and tick script. Please help. Thanks, Nikhil *Logs error:* [trial:alert2] 2016/10/20 19:30:40 E! smtp service not enabled, cannot send email. *kapacitor.conf* [smtp] # Configure an SMTP email server # Will use TLS and authentication if possible # Only necessary for sending emails from alerts. enabled = true host = "localhost" port = 25 username = "" password = "" # From address for outgoing mail from = "" # List of default To addresses. to = ["[email protected]"] # Skip TLS certificate verify when connecting to SMTP server no-verify = false # Close idle connections after timeout idle-timeout = "30s" # If true the all alerts will be sent via Email # without explicitly marking them in the TICKscript. global = false # Only applies if global is true. # Sets all alerts in state-changes-only mode, # meaning alerts will only be sent if the alert state changes. state-changes-only = false *tick script:* stream |from() .measurement('ec.sessionKey.accountKeyView.timer.realm100') |alert() .crit(lambda: "count" > 5) .log('/var/log/kapacitor/trial.log') .email('[email protected]') On Thu, Oct 20, 2016 at 3:38 PM, <[email protected]> wrote: > Kapacitor doesn't understand AWS ARN values, that is why you will need a > translation layer between the two. For example you could map the alert ID > to the ARN in that layer. > > On Thursday, October 20, 2016 at 11:55:13 AM UTC-6, Nikhil Agrawal wrote: >> >> Aws SNS can understand JSON. >> >> To configure this -- do i need to add ARN in Kapacitor.conf? >> >> >> >> On Thursday, October 20, 2016, <[email protected]> wrote: >> >>> >>> Yes, it is possible, but it may require that you put a proxy in between >>> to transform the JSON that Kapacitor generates into something that AWS SNS >>> can understand. >>> >>> >>> On Thursday, October 20, 2016 at 11:14:40 AM UTC-6, Nikhil Agrawal wrote: >>>> >>>> Hi, >>>> >>>> Can we use Kapacitor post method to post data in AWS SNS Topic >>>> from Kapacitor ? If yes - Any documentations. >>>> >>>> -- >>>> >>>> *Thanks,Nikhil Agrawal | +1 408 505 8443* >>>> >>> -- *Thanks,Nikhil Agrawal | +1 408 505 8443* -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CAMtKHpoBbCasKLBxTAPWT6nh%2BdsTj%3DLeJRjttPCaCOHBH2-G-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
