# Device Monitoring

Monitor your device status using the SocketXP Device Monitoring feature. SocketXP can be configured to send device status change webhook notifications to a webhook URL.

For example, if your team uses Slack app for communication, and if you prefer to receive device status change notifications in your Slack app channel, you could create a Slack Incoming Webhook (opens new window) 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.

If you have a custom built app or server and if it doesn't have a public webhook URL or web API, you could leverage the SocketXP Web Service Remote Access feature to create a public web URL for your custom built application's webhook API.

To receive webhook notifications, you need to register the public webhook URL of your application with the SocketXP gateway. Go to https://portal.socketxp.com/#/devices, click the "Device Monitoring" button on the table shown there. It will pop up a window where you will submit the public webhook URL of your app and click save.

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

{
    "TunnelId": "1234-abcd-a1b2c3-abcdefgh",
    "DeviceId": "2222-bbbb-ccccc-ddddd1234",
    "Status": "UP"
}
{
    "TunnelId": "1234-abcd-a1b2c3-abcdefgh",
    "DeviceId": "2222-bbbb-ccccc-ddddd1234",
    "Status": "DOWN"
}