Closes #2112
This PR adds a new SNMP provider that enables Keep to receive and process SNMP traps from network devices, converting them into actionable Keep alerts.
The provider automatically maps standard SNMP traps (coldStart, warmStart, linkDown, linkUp, authenticationFailure, etc.) to appropriate alert severities and extracts meaningful information like system name, uptime, and interface details.
pysnmp-lextudio = "^6.3.0"
- Modern SNMP library for Python with asyncio support# Basic SNMPv1/v2c setup
authentication:
listen_address: "0.0.0.0"
listen_port: 162
community_string: "public"
# Advanced SNMPv3 setup
authentication:
listen_address: "0.0.0.0"
listen_port: 162
community_string: "public"
security_name: "snmpuser"
auth_protocol: "SHA"
auth_key: "authpassword123"
priv_protocol: "AES"
priv_key: "privpassword123"
Testing:
The provider has been tested with various SNMP trap types and includes comprehensive error handling for production use. Test scripts are provided in the codebase for validation.
Breaking Changes:
None - this is a new provider addition that doesn’t affect existing functionality.
Files Added:
/claim #2112
Rishi Mondal
@MAVRICK-1
Keep (YC W23)
@keephq