How to setup email alsert on kapacitor, Where to setup SMTP server address ,. find below.
getting below error. logs, kapacitor.conf, tick script *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]') .post('arn:aws:sns:ap-northeast-1:330932647836:PSS-Coriolis-Monitoring-Alerts') ~ -- *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/CAMtKHpq0ybvDjOdR%3DO_-P35qZY8Qt42VLr8gGqWA%2B%2BuwLi6xww%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
