in reply to SNMP_util truncated mac addresses

since you have net-snmp you should just use their module. that way, if the command line tools work then the module will work (since it uses the same library). i've used the net-snmp (ucd-snmp) module for many years now to query thousands of devices and have never run into such funkyness as you're seeing.

Replies are listed 'Best First'.
Re^2: SNMP_util truncated mac addresses
by Anonymous Monk on Oct 10, 2004 at 15:08 UTC
    Thanks for the suggestion. From what I read online you can do more with the net-snmp perl module. I think I managed to install the perl modules that go with net-snmp5.1.1. I can type "use SNMP;" in a perl file and perl does not complain about not finding the module. However, the readme files do not clearly explain to me the functions I can call (and with what arguments), and what is returned. Does anybody know of a good document that lists the functions, arguments, tells/shows what is returned by the functions. I have hunted on Google but have yet to find a good document showing the syntax and how to use the functions in the perl module. Thanks.