Wrong Type (should be OCTET STRING): INTEGER: 0

2006-03-03 Thread Li Juen Hwang
Hi, the error message shown on Subject happened after i changed the type of my mib variable, MediaTime, from 'ASN_OCTET_STR' to 'ASN_INTEGER' in my agent code. My agent was running on a remote Linux box. I used 'snmpget' on my local Linux to get the value of MediaTime. I then

Re: Wrong Type (should be OCTET STRING): INTEGER: 0

2006-03-03 Thread Li Juen Hwang
Hi, I turned on debugging and found that snmpget read in the old MIB file, myMIB.txt.orig, which was saved in /usr/share/snmp/mibs. The new correct MIB file under /usr/share/snmp/mibs is a link to /usr/local/share/snmp/mibs/myMIB.txt which contains the new type. After