SNMP_session.pm
Availability and IPv6 support
Name |
IPv6 support |
Supported operating systems |
[http://www.switch.ch/misc/leinen/snmp/perl/ SNMP_session.pm] |
included since version 0.98 |
Unix, Linux, [http://www.freshports.org/search.php?query=SNMP_session.pm *BSD] |
Description
An SNMP library written entirely in Perl. There are two layers of programming interface: SNMP_Session.pm/BER.pm provide a low-layer interface to encoding and decoding of SNMP requests and data structures. SNMP_util.pm adds basic MIB parsing support and convenient interfaces to some basic SNMP operations.
Comments
Required extensions to be operational within a native IPv6 environment In order to communicate with managed devices over IPv6, support for INET6 address family sockets is needed. The package initially used the IO::Socket::INET class. A usable version of a IO::Socket::INET6 module has been contributed to CPAN. Many of the SNMP agents currently deployed don't support IPv6 even when on devices that are otherwise IPv6-capable (and thus have AAAA records in the DNS). Therefore, IPv6 support must be explicitly requested by setting $SNMP_Session::ipv4_only to 0 (default is 1).
Tested and used in 6NET project.
Usage information
Categories
CategoryApps, CategoryAppstesting_and_monitoring