Nikhil, we've answered this question four times already. Please read our
replies.

https://groups.google.com/d/msgid/influxdb/CAMtKHpp-YOLfoEiSFqNX%2B0yqbztMW1ao2%2BcUpP5o6Z040%2BbKEA%40mail.gmail.com?utm_medium=email&utm_source=footer
https://groups.google.com/d/msgid/influxdb/CAMtKHpq0ybvDjOdR%3DO_-P35qZY8Qt42VLr8gGqWA%2B%2BuwLi6xww%40mail.gmail.com?utm_medium=email&utm_source=footer
https://groups.google.com/d/msgid/influxdb/CAMtKHpqCSXxO6WKaO155Ja5nN1-xuqb8iumRfh5iWUrYZugVPw%40mail.gmail.com?utm_medium=email&utm_source=footer
https://groups.google.com/d/msgid/influxdb/CAMtKHpq49OijK1%2B6drYTLWX3prtCPKuJMJY9N5Q6twJk5zZfEQ%40mail.gmail.com?utm_medium=email&utm_source=footer

On Fri, Oct 21, 2016 at 1:02 PM, Nikhil Agrawal <[email protected]>
wrote:

> 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 <%2B1%20408%20505%208443>*
>
> --
> 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/ms
> gid/influxdb/CAMtKHpoBbCasKLBxTAPWT6nh%2BdsTj%
> 3DLeJRjttPCaCOHBH2-G-g%40mail.gmail.com
> <https://groups.google.com/d/msgid/influxdb/CAMtKHpoBbCasKLBxTAPWT6nh%2BdsTj%3DLeJRjttPCaCOHBH2-G-g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sean Beckett
Director of Support and Professional Services
InfluxDB

-- 
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/CALGqCvMUU8x62hkpzXOcq%2BnRgpcYzZ6Wtn29BPBbVSugdxE5kg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to