Skip to content

Device Monitoring

Remote device monitoring is crucial for constantly tracking the health of your IoT devices remotely, so that corrective actions can be taken immediately.

SocketXP provides two options to monitor your devices remotely:

  1. Device Status Monitoring
  2. Device Resource Monitoring

Device Status Monitoring

SocketXP Device Status Monitoring feature provides you the ability to monitor your remote device status(online/offline). SocketXP can be configured to send device status change alerts to a user registered public webhook URL.

For example, if your team uses Slack app for collaboration, and if you want to receive device status change notifications in your Slack app channel, you could create a Slack Incoming Webhook and configure SocketXP to use the webhook to send device status change notifications.

There are many team collaboration apps(not just Slack) that support and provide public webhooks. You could register the app's webhook with SocketXP to receive device status change notifications.

You can also register your custom built IoT controller or dashboard app's webhook API with SocketXP to receive device status change alerts.

To receive webhook notifications, you need to register the public webhook URL of your application with the SocketXP gateway.

Go to the SocketXP web portal's monitoring section, where you will register the public webhook URL of your app and click update.

IoT Remote Device Monitoring

SocketXP gateway will send the following device status change notifications through the app's webhook URL, whenever the device/tunnel goes up or down:

{
    "DeviceId": "2222-bbbb-ccccc-ddddd1234",
    "DeviceName": "Sensor123",
    "Status": "UP"
}
{
    "DeviceId": "2222-bbbb-ccccc-ddddd1234",
    "DeviceName": "Sensor123",
    "Status": "DOWN"
}

Tip

All the alerts generated can be viewed from the "Activity Logs" section in the SocketXP Web Portal.

Device Resource Monitoring:

Device Resource Monitoring provides you the ability to monitor your device resource utilization such as CPU usage, memory usage, disk usage and trigger a webhook alert when the resource utilization exceeds a configured threshold value.

You'll receive webhook alerts as shown below when the CPU, Memory or Disk utilization exceeds the configured threshold value.

    {
        "DeviceId": "1234aaaa-bbbb-ccccc-ddddd1234",
        "DeviceName": "Sensor123",
        "CPUUsagePercent": "91",
        "MemUsagePercent": "72",
        "DiskUsagePercent": "43"
    },

Note

  1. SocketXP agent running in all your devices will be restarted whenever you make any change to the Device Resource Monitoring configurations.
  2. Device resource monitoring alerts are throttled to a 5 minute window - meaning not more than 1 alert will be sent in any 5 minute window for a given device.
  3. Device resource monitoring feature is available from SocketXP agent version 1.3.10 onwards.