Should (keys %SNMP::MIB) work?
Matthew Dougherty <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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.
Thanks,
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.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users