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.
6 *** This is currently alpha level code!!! ***
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")
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
17 Extract each of the above tar balls and in the resulting
22 make install (as root)
24 2) Then in this directory, run:
27 make install (as root)
30 SQL like Shell script:
31 netsh [snmpcmd arguments] HOST [SQL COMMAND]
33 Example commands to type at the prompt:
35 select * from ifTable where ifDescr = 'eth0'
36 alias ifconfig select ifDescr, ifAdminStatus where ifDescr = '\1'
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.]