PySNMP Project Logo

Project diary
Documentation
Examples
Download
Mailing lists
License
Obsolete

Projects using PySNMP
NOC Project


Relevant projects
PyNetSNMP
SNMPy
YAPSNMP
LibSMI

Support This Project
SourceForge Logo

BER encoders & decoders for SNMP message

The pysnmp.message module defines the message class, which implements BER encoders and decoders suitable for building and parsing SNMP message.

The message class subclasses the ber.ber class (which implements BER encoders & decoders for SNMP subset of ASN.1 data types) so public attributes of ber class become available to user of message class.

The pysnmp.message module itself defines the following items:

message([community[, version]])

Returns a new instance of the message class, representing the BER engine capable to build/parse complete SNMP message from/to SNMP message components (such as SNMP PDU, Object-IDs bindings etc.).

The default value for SNMP community name community is "public".

The default for SNMP version is 0 (what indicates SNMP version 1).

XXX: No SNMP versions other than version 1 is supported at the moment.


Need help? Try PySNMP mailing lists.