Basic SNMP engine
The pysnmp.session module defines the session class,
which implements SNMP engine capable to send and receive SNMP messages
over TCP/IP network.
The session class subclasses the
message class (which implements SNMP message building/parsing) so public
attributes of message class become available to user of
session class.
The pysnmp.session module itself defines the following items:
-
session(agent[, community])
-
Returns a new instance of the session class, representing
SNMP session with the SNMP process running on host agent.
The default value for SNMP community name community
is "public".
Instances of the session class can be reused for performing
a number of SNMP requests to the same SNMP party.
Need help? Try PySNMP mailing lists.
|