I'm trying to generate output in the form OID, attribute, Description.

With no agent session, if the mibs are loaded, the following works:

print $SNMP::MIB{sysDescr}{description}."\n";

By the following returns an empty array:

@array=(keys %SNMP::MIB);

Any advice would be helpful.


Matt Dougherty

SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
Net-snmp-users mailing list
Please see the following page to unsubscribe or change other options: