Blame perl/AnyData_SNMP/INSTALL

Packit fcad23
NOTE NOTE NOTE: this module depends on a modified version of the
Packit fcad23
DBD::AnyData module.  Do not get the original version from Jeff
Packit fcad23
Zucker.  He and I are working together to resolve the extra features I
Packit fcad23
need, but we haven't quite merged yet.  
Packit fcad23
Packit fcad23
*** This is currently alpha level code!!! ***
Packit fcad23
Packit fcad23
Install steps:
Packit fcad23
  0) install the DBI perl module (run: perl -MCPAN -e "install DBI")
Packit fcad23
     and the DBD::File perl module (run: perl -MCPAN -e "install DBD::File")
Packit fcad23
Packit fcad23
  1) download, and install the modified AnyData perl modules from:
Packit fcad23
     http://www.net-snmp.org/AnyData-wes/AnyData-0.05.tar.gz
Packit fcad23
     http://www.net-snmp.org/AnyData-wes/DBD-AnyData-0.05.wes.tar.gz
Packit fcad23
     http://www.net-snmp.org/AnyData-wes/SQL-Statement-1.004.tar.gz
Packit fcad23
Packit fcad23
     Extract each of the above tar balls and in the resulting
Packit fcad23
     directories run:
Packit fcad23
Packit fcad23
    	perl Makefile.PL
Packit fcad23
    	make
Packit fcad23
    	make install   (as root)
Packit fcad23
Packit fcad23
  2) Then in this directory, run:
Packit fcad23
    	perl Makefile.PL
Packit fcad23
    	make
Packit fcad23
    	make install   (as root)
Packit fcad23
Packit fcad23
To use it:
Packit fcad23
  SQL like Shell script:
Packit fcad23
    netsh [snmpcmd arguments] HOST [SQL COMMAND]
Packit fcad23
Packit fcad23
  Example commands to type at the prompt:
Packit fcad23
    select * from ifTable
Packit fcad23
    select * from ifTable where ifDescr = 'eth0'
Packit fcad23
    alias ifconfig select ifDescr, ifAdminStatus where ifDescr = '\1'
Packit fcad23
    ifconfig eth0
Packit fcad23
Packit fcad23
Packit fcad23
[Jeff Zucker's original (unpatched) AnyData perl modules can be found
Packit fcad23
 at http://www.vpservices.com/jeff/programs/AnyData/ .  However, do not
Packit fcad23
 use the modules from this site as they won't work with the software in
Packit fcad23
 this directory.  (Use the download sites in step 1 below instead.)  It
Packit fcad23
 is a good source for documentation about the AnyData modules.]