Error in MIB

2014-10-14 Thread chengkeke
Hi All, I have met one issue some format in MIB can't works well for net-snmp. Could you please give me any suggestion? net-snmp version is 5.5. "IF-Name_VLAN-ID_ESSID_AP-Model_AP-Name_AP-MAC(1)" does not works for net-snmp. Here is the error when do snmpget or snmpwork: snmpwalk -v 2c -c priv

Net-snmp: SNMPGet display special chars for OID

2012-11-26 Thread chengkeke
Hi All, When I executed a snmpget command, in result, some special chars are displayed in result instead of correct OID information. Could any body help me on it? Is there any length limitation when display OID? snmpget -v 2c -c private -t 20 -r 3 192.168.0.2 MIB::NodeName.6.116.145.26.18.40.8

Bad parse of NOTIFICATION-TYPE When Null in OBJECTS

2012-02-06 Thread chengkeke
Hi All, Error "Bad parse of NOTIFICATION-TYPE" is displayed when define a node with OBJECTS is {}/null. The MIB can be compiled successfully in Mg-Soft browser. Net-snmp 5.5. Is it a known issue? Have it fixed in later version? When we define a node with OBJECTS is {} in MIB file, then execu

Snmptranslate: How can I get the full oids output for the node of our MIB files

2011-06-14 Thread chengkeke
Hi All, I knew snmptranslate can translate between OIDs numerically and OIDs. For example: D:\usr\etc\snmp>snmptranslate -On COMPANY-SYSTEM-MIB::SystemCountryCode .1.3.6.1.4.1.XXX.1.2.1.1.1.1.20 D:\usr\etc\snmp>snmptranslate -Of COMPANY-ZD-SYSTEM-MIB::SystemCountryCode .iso.org.dod.internet.pri

SNMPV3 Trap: How to receive and parse trap result when the agent sends it with a random engine ID

2011-06-07 Thread chengkeke
Hi All, In net-snmp, if I want to receive a snmpv3 trap, must add user in snmptrapd.conf like the following line: createUser -e 0x81020304 ruckus-read MD5 12345678 DES 12345678 Is it possible to receive and parsing the trap information when sending trap with an random engine id? If ye

SNMPV3: Is it ok to create two users with same user name and different auth and privacy setting?

2011-06-07 Thread chengkeke
Hi All, I have a question about snmpv3 users: Is it ok to create two users with same user name and different auth and privacy setting? If yes, how the application know the authentication and privacy setting for the user? createUser myuser SHA -l 0x0001020304050607080900010203040506070809 AES -l