Azure IoT Hub incoming messages monitoring w.r.t edge devices RRS feed

  • Question

  • Hi,

    I have an IoT hub which is getting the messages from various edge devices.

    Is it possible to setup an alert that if the specific edge device is not sending any messages, it should trigger an alert.


    • Edited by Prasanth E Tuesday, August 27, 2019 7:33 AM
    Tuesday, August 27, 2019 7:31 AM


All replies

  • Hi,

    I haven’t found a direct a way to receive an alert. However, you can utilize Azure Functions to trigger alerts when a particular action is not performed.

    You can use Azure Monitor to receive an alert when a particular device is disconnected.

    IoT Hub also supports custom endpoints that can be defined by users to send device telemetry data and events to Azure services using message routing.

    You can also use Direct methods to get an alert immediately when the device is disconnected. Direct methods follow a request-response pattern and are meant for communications that require immediate confirmation of their result. Please refer to Understand and invoke direct methods from IoT Hub for more details.

    Let us know if that helps.

    Wednesday, August 28, 2019 1:25 PM
  • Thank you very much Ashok.

    I'll check the Direct methods.

    We have the log analytics query which will update us for connection loss.

    Thursday, August 29, 2019 9:56 AM
  • You are welcome! 
    Thursday, September 5, 2019 1:59 PM