Hi, I used snmptranslate to access a "TCP-MIB" node "tcpMIB" or "tcpConnectionTable",
snmptranslate -IR tcpConnectionTable reply is : TCP-MIB::tcpConnectionTable it should be work. But when I use mib2c -c mib2c.iterate.conf tcpConnectionTable , it return " Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none) ...... You didn't give mib2c a valid OID to start with. IE, I could not find any information about the mib node "tcpConnectionTable". This could be caused because you supplied an incorrectly node, or by the MIB that you're trying to generate code from isn't loaded. ......... " I have export MIBS=ALL ,and I can snmpwalk this MIB(TCP-MIB),it all work ,BUT why mib2c don't work ?? Thank you ! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users