SNMP::Monitor - A module for watching interface status, logging interface utilization and arbitrary other SNMP queries ==================================================================== 1.) What is it? Are you managing a network? Then you definitely want to be notified about status changes of your WAN lines. You are interested in displaying the utilization of both LAN and WAN. You'd like to have accounting statistics of your Internet connection. Or you want to have a comfortable possibility of watching other SNMP variables. If HP OpenView or a similar program does this for you, stop reading here: You have something far better. If not, read on ... The SNMP::Monitor package and its frontend, the snmpmon utility allow you to - add or delete routers from or to a set of managed routers - start a permanently running monitor that is watching your interfaces and can do logging into a database - display a graphical view of the interface utilization via the WWW - show interface statistics - includes an access control system that restricts these information to given users based on interface and/or host 2.) Prerequisites Lots of. :-) First of all, some external binaries are required: - GNUplot 3.6beta or later is used for creating GIF images; if you don't have GNUplot, you can still use the SNMP monitor, but no graphical view is available. See http://www.cs.dartmouth.edu/gnuplot_info.html for more information on GNUplot. - The ppmtogif program, available as part of the netpbm package or as part of the libgr distribution. Sorry, I have no information for obtaining one of these packages available right now, except that libgr is part of my Red Hat Linux distribution. :-) - The SNMP client libraries from the UCD snmp distribution, see ftp://ftp.ece.ucdavis.edu:/pub/snmp Note, that you don't need a running server, the libraries and header files are completely sufficient. Perhaps the CMU package or Juergen Schoenwaelder's version will do, I did not try. In this case you might need an older version of the SNMP module too, see below. - MySQL or another database engine with a DBI (Database independent interface for Perl 5) driver - Some other Perl modules: Data-Dumper, version 2.081 or later SNMP, version 1.8a1 or later MailTools, version 1.11 or later IO-stringy, version 1.203 or later HTML::EP, version 0.1005 or later Msql-Mysql-modules, 1.1832 or later (or perhaps your database engines driver) Missing Perl modules are available from ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module See Installation below for how to install a Perl module 3.) Installation First you install the Perl modules. For example the Data::Dumper module is installed as follows: gzip -cd Data-Dumper-2.081.tar.gz | tar xf - cd Data-Dumper-2.081 perl Makefile.PL make make test su -c "make install" Installing the SNMP::Monitor package is just as simple. You will be prompted a lot of questions that should hopefully be self explaining. I hope the defaults are fine. For installing the HTML pages, see the docs of the HTML::EP module by doing a perldoc HTML::EP this should tell you how to configure your WWW server for feeding files with the extension .ep into the HTML::EP system. To verify the installation, create a file like