and added files
[bcm963xx.git] / userapps / opensource / net-snmp / perl / AnyData_SNMP / INSTALL
1 NOTE NOTE NOTE: this module depends on a modified version of the
2 DBD::AnyData module.  Do not get the original version from Jeff
3 Zucker.  He and I are working together to resolve the extra features I
4 need, but we haven't quite merged yet.  
5
6 *** This is currently alpha level code!!! ***
7
8 Install steps:
9   0) install the DBI perl module (run: perl -MCPAN -e "install DBI")
10      and the DBD::File perl module (run: perl -MCPAN -e "install DBD::File")
11
12   1) download, and install the modified AnyData perl modules from:
13      http://www.net-snmp.org/AnyData-wes/AnyData-0.05.tar.gz
14      http://www.net-snmp.org/AnyData-wes/DBD-AnyData-0.05.wes.tar.gz
15      http://www.net-snmp.org/AnyData-wes/SQL-Statement-1.004.tar.gz
16
17      Extract each of the above tar balls and in the resulting
18      directories run:
19
20         perl Makefile.PL
21         make
22         make install   (as root)
23
24   2) Then in this directory, run:
25         perl Makefile.PL
26         make
27         make install   (as root)
28
29 To use it:
30   SQL like Shell script:
31     netsh [snmpcmd arguments] HOST [SQL COMMAND]
32
33   Example commands to type at the prompt:
34     select * from ifTable
35     select * from ifTable where ifDescr = 'eth0'
36     alias ifconfig select ifDescr, ifAdminStatus where ifDescr = '\1'
37     ifconfig eth0
38
39
40 [Jeff Zucker's original (unpatched) AnyData perl modules can be found
41  at http://www.vpservices.com/jeff/programs/AnyData/ .  However, do not
42  use the modules from this site as they won't work with the software in
43  this directory.  (Use the download sites in step 1 below instead.)  It
44  is a good source for documentation about the AnyData modules.]