SNMP support for Perl 5 ----------------------- Copyright (c) 1995-2023, Simon Leinen All rights reserved This program is free software; you can redistribute it under the "Artistic License" included in this distribution (file "Artistic"). Author: Simon Leinen Contributors: Tobias Oetiker Matthew Trunnell Andrzej Toboła Dave Rand Heine Peters Yufang HU Philippe Simonet Daniel L. Needles Dan Cox Iouri Pakhomenko Niels Bakker Mike Mitchell Alan Nichols Mike McCauley Andrew W. Elble Paul E. Erkkila Johannes Demel Rik Hoorelbeke Brett T Warden Alistair Mills Bert Driehuis Michael Deegan Jakob Ilves (/IlvJa) Jan Kasprzak Valerio Bontempi Lorenzo Colitti Joerg Kummer Christopher J. Tengi Luc Pauwels Milen Pavlov Andrew Cornford-Matheson Gerry Dalton Jan van Keulen Armin Wolfermann Allan Jude Michal Josef Špaček http://www.switch.ch/misc/leinen/snmp/perl/index.html This archive contains Perl 5 modules SNMP_Session.pm and BER.pm, which, when used together, provide rudimentary access to remote SNMP (v1/v2) agents. This module differs from existing SNMP packages in that it is completely stand-alone, i.e. you don't need to have another SNMP package such as Net-SNMP. It is also written entirely in Perl, so you don't have to compile any C modules. It uses the Perl 5 Socket.pm module and should therefore be very portable, even to non-Unix systems. The SNMP operations currently supported are "get", "get-next", and "set", as well as trap generation and reception. For an excellent example of the type of application this is useful for, see Tobias Oetiker's ``mrtg'' (Multi Router Traffic Grapher) tool: Usage ..... See the EXAMPLES section of the POD documentation in SNMP_Session.pm. Future Plans ............ SNMPv3 Support The code could first be restructured to follow the modularization proposed in RFC 2271 (An Architecture for Describing SNMP Management Frameworks). The existing SNMPv1 and SNMPv2c support must somehow be retrofitted to this framework. Later, one could add support for SNMPv3 PDU formats and for user-based security. Higher-Level APIs The current programming interface is very close to the level of SNMP operations and PDUs. For actual management applications, there are probably more convenient interfaces that could be defined.