Appendix E. SNMP Support for Perl


This appendix summarizes two SNMP Perl modules. The first is Mike Mitchell's SNMP_util module, which we have used in most of our Perl scripts throughout this book. This module is distributed with Simon Leinen's SNMP Perl module; Mike's module, together with Simon's, can make SNMP programming a snap. You can get these modules from http://www.switch.ch/misc/leinen/snmp/perl or http://www.cpan.org.

The second module is the one that comes with Net-SNMP. It allows you to write SNMPv1, SNMPv2, and SNMPv3 Perl scripts since it basically wraps the Net-SNMP C libraries. It comes with the Net-SNMP distribution at http://www.net-snmp.org.

For those of you who wish to review the Perl language, you can find an excellent introduction to the language at http://search.cpan.org/~rgarcia/perl-5.9.2/pod/perlintro.pod.




Essential SNMP
Essential SNMP, Second Edition
ISBN: 0596008406
EAN: 2147483647
Year: 2003
Pages: 165

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net