MQTT from AWS IoT


#1

Hi, anyone managed to MQTT Sub to AWS IoT?

Did the following settings in telegraph.conf but can’t seems to get it to work

topics = [
“telegraf/host01/cpu”,
“telegraf/+/mem”,
“test”,
a2r4hxxxxxxx.iot.ap-southeast-1.amazonaws.com/test”,
a2r4hxxxxxxx.iot.ap-southeast-1.amazonaws.com/#
]

Optional SSL Config

ssl_ca = "/etc/telegraf/aws.pem"
ssl_cert = "/etc/telegraf/5633xxxx-certificate.pem"
ssl_key = “/etc/telegraf/563xxxxxee9f-private.pem”

Use SSL but skip chain & host verification

insecure_skip_verify = true