Implements Issue #2112: Receive SNMP traps into Keep as alerts via webhook.
webhook_description and webhook_template class attributes for receiving traps via HTTPparse_event_raw_body() static method to parse incoming JSON payloads_format_alert() static method to convert SNMP trap events to AlertDtoThe SNMP provider now supports receiving traps via webhook. When configured, users can:
Example webhook payload:
{
"oid": "1.3.6.1.4.1.12345.1.2.3",
"message": "CPU usage is high",
"source": "server01",
"severity": "critical"
}
This creates a firing alert with CRITICAL severity in Keep.
Link: https://youtu.be/_i0x0GqxG4Y
Since this is a backend-only change (the provider auto-discovers the webhook capability), here’s how it works:
/claim #2112 Closes #2112
Matías J. Magni
@info3
Keep (YC W23)
@keephq