Skip to content

Automatically exported from code.google.com/p/snmp-session

Notifications You must be signed in to change notification settings

sleinen/snmp-session

Repository files navigation

                       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  <[email protected]>
                            Contributors:
                 Tobias Oetiker  <[email protected]>
               Matthew Trunnell  <[email protected]>
                 Andrzej Toboła  <[email protected]>
                      Dave Rand  <[email protected]>
                   Heine Peters  <[email protected]>
                      Yufang HU  <[email protected]>
               Philippe Simonet  <[email protected]>
              Daniel L. Needles  <[email protected]>
                        Dan Cox  <[email protected]>
               Iouri Pakhomenko  <[email protected]>
                   Niels Bakker  <[email protected]>
                  Mike Mitchell  <[email protected]>
                   Alan Nichols  <[email protected]>
                  Mike McCauley  <[email protected]>
                Andrew W. Elble  <[email protected]>
                Paul E. Erkkila  <[email protected]>
                 Johannes Demel  <[email protected]>
                 Rik Hoorelbeke  <[email protected]>
                 Brett T Warden  <[email protected]>
                 Alistair Mills  <[email protected]>
                  Bert Driehuis  <[email protected]>
                 Michael Deegan  <[email protected]>
           Jakob Ilves (/IlvJa)  <[email protected]>
                   Jan Kasprzak  <[email protected]>
               Valerio Bontempi  <[email protected]>
                Lorenzo Colitti  <[email protected]>
                   Joerg Kummer  <[email protected]>
           Christopher J. Tengi  <[email protected]>
                    Luc Pauwels  <[email protected]>
                   Milen Pavlov  <[email protected]>
       Andrew Cornford-Matheson  <[email protected]>
                   Gerry Dalton  <[email protected]>
                 Jan van Keulen  <[email protected]>
               Armin Wolfermann  <[email protected]>
                     Allan Jude  <[email protected]>
            Michal Josef Špaček  <[email protected]>

        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: <URL:http://oss.oetiker.ch/mrtg/>

                                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.

About

Automatically exported from code.google.com/p/snmp-session

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •