Skip to content

feat: Add SNMP Provider (v1/v2c/v3 trap receiver)#6135

Closed
justintadair-debug wants to merge 1 commit intokeephq:mainfrom
justintadair-debug:feature/snmp-provider
Closed

feat: Add SNMP Provider (v1/v2c/v3 trap receiver)#6135
justintadair-debug wants to merge 1 commit intokeephq:mainfrom
justintadair-debug:feature/snmp-provider

Conversation

@justintadair-debug
Copy link

@justintadair-debug justintadair-debug commented Mar 25, 2026

SNMP Provider

Closes #2112

/attempt #2112
/claim #2112

Adds a webhook-based SNMP trap receiver that converts SNMP traps into Keep alerts.

Features

  • SNMPv1, v2c, and v3 support
  • Well-known OID auto-mapping (linkDown, linkUp, coldStart, warmStart, authenticationFailure, egpNeighborLoss) with appropriate severities
  • Fingerprint-based deduplication on [trap_oid, agent_address]
  • Follows existing provider patterns (webhook receiver like Checkmk)
  • No heavy pysnmp dependency — receives pre-parsed trap JSON from snmptrapd
  • Mock alert data included for testing

Files

  • keep/providers/snmp_provider/init.py
  • keep/providers/snmp_provider/snmp_provider.py
  • keep/providers/snmp_provider/alerts_mock.py

@vercel
Copy link

vercel bot commented Mar 25, 2026

@justintadair-debug is attempting to deploy a commit to the KeepHQ Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant
Copy link

CLAassistant commented Mar 25, 2026

CLA assistant check
All committers have signed the CLA.

@justintadair-debug justintadair-debug marked this pull request as ready for review March 25, 2026 21:52
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. Feature A new feature Provider Providers related issues labels Mar 25, 2026
@shahargl shahargl closed this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🙋 Bounty claim Feature A new feature Provider Providers related issues size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🔌 Provider]: SNMP provider

3 participants