Snmptrap receiver

From automateyournetwork/netclaw · View interactive version

Snmptrap receiver is an AI agent skill from the GitHub repository automateyournetwork/netclaw. Receive and query SNMP traps from network devices via UDP.

How to use this skill

Skill file

SNMP Trap Receiver Skill

Receive and query SNMP traps from network devices via UDP.

Skill ID

snmptrap-receiver

Description

This skill enables NetClaw to receive SNMP traps from network devices (routers, switches, firewalls) and query the collected data. It supports SNMPv1, SNMPv2c, and SNMPv3 trap formats.

When to Use

Required MCP Server

snmptrap-mcp

Available Tools

| Tool | Purpose |

|------|---------|

| snmptrap_start_receiver | Start listening for SNMP traps |

| snmptrap_stop_receiver | Stop the receiver |

| snmptrap_get_status | Check receiver status and statistics |

| snmptrap_query | Search traps with filters |

| snmptrap_get_trap | Get full details of a specific trap |

| snmptrap_get_counts | Get trap counts by type and source |

Example Workflows

Start Monitoring

1. Use snmptrap_start_receiver with port 10162
2. Configure network devices to send traps to this port
3. Use snmptrap_get_status to verify traps are being received

Investigate Link Issues

1. Use snmptrap_query with trap_oid_prefix "1.3.6.1.6.3.1.1.5" for standard traps
2. Filter by source_ip to focus on specific device
3. Use snmptrap_get_trap for full variable binding details

Daily Summary

1. Use snmptrap_get_counts to see trap distribution
2. Focus on linkDown, authenticationFailure counts
3. Query high-frequency trap sources for details

Sample Prompts

Configuration

The snmptrap-mcp server is configured via environment variables:

Limitations

Related Skills

Failure Behavior

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.