Extending Net-SNMP with Python3
Thursday, September 10, 2020
PyAgentX3 is a pure Python3 implementation of the AgentX protocol (RFC 2741).
It will allow to extend an SNMP agent (e.g Net-SNMP snmpd) by writing AgentX subagents without modifying the original SNMP agent.
RFC 2741: Agent Extensibility (AgentX) Protocol
Code and samples can be found on github.
It features:
- Open a session with AgentX master, e.g. net-snmpd snmpd, and register a new session.
- Send Ping request.
- Register multiple MIB regions.
- Multiple MIB update classes with custom frequency for each.
- Support snmpset operations.
- Reconnect/Retry to master, in case the master restarted.
- Support for SNMPv2 traps.