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

Li Juen Hwang <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>

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 updated the SYNTAX of MediaTime from 'DateAndTime'   
    to 'Integer32' on my local mib file: 
/usr/local/share/snmp/mibs/myMIB.mib,
    but it does not fix the problem. (My snmp package is installed in
    /usr/local on remote and local system)
    What did i miss?
    Need help.
    Thanks.


    Li-Juen


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.