(Deprecated) Use Webhook Service using the format type “Generic”

 

Steps

Step 1. Apply a Webhook Service URL for testing

Get a Webhook Service URL for testing from the website https://webhook.site/ 

Step 2. Fill in the Webhook Service URL in “Alert Channels”

Log onto the Portal and enter a group’s “Alert Channels” page, then fill in the URL. 

Step 3. Enable the Alert item 

Enable an alert item and select the method you wish to receive alerts, and then save it.

 

Step 4. Check results on the testing website

Send out the alert message for testing, then go to https://webhook.site to see the results.

Format

  • GENERICv1 Format
{
"deviceName": "device_name",
"deviceSN": "serial_number",
"appGUID": "appGUID",
"moduleName": "module_display_name",
"alarmName": "alarm_name",
"alarmAction": "alarm_action",
"alarmEpoch": "alarm_time",
"alarmMessage": "alarm_message"
}
  • IFTTTv1 Format
{
"value1": "{device_name}(serial_number)",
"value2": "{alarm_name}(module_display_name)",
"value3": "{alarm_message}(alarm_time)"
}
  • Slack Format
{
"text": """
【{alarm_name}】

【Alert Information】
- Source: {alarm_source}
- Status: {mail_state}
- Time: {alarm_time} (UTC)
- Detail: {alarm_message}

【Device Information】
- Name: {device_name}
- Serial Number: {serial_number}
- Group Name: {group_name}
- Link: {alert_link}
"""
}