Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Encoding Error

Help
2005-01-04
2013-05-28
  • Hi all,

    I've a little problem for encoding snmp objects of type "TimeTicks".

    In fact, I've find a cable-modem configuration file.
    I've succesfully decoded this file(with docsis), but I can't re-encode it.
    In the decoded file, I've a line like that:

    SnmpMibObject c2kUcmTelnetLifeTime.0 TimeTicks 100:0:00:00.00 ;

    And when I try to re-encode, I've this error:
    14:syntax error token TimeTicks
    Error parsing config file test.txt

    I don't understand why docsis is able do decode the file, but not to re-encode it.
    I didn't make any modification to the decoded file.

    here is a summarize:

    [root@box sample_config]# docsis -d test.cfg > test.txt
    [root@box sample_config]# docsis -e test.txt ../key test.cfg
    14:syntax error token TimeTicks
    Error parsing config file test.txt
    [root@box sample_config]#

    I'm using docsis-0.9.2 and net-snmp-5.1 on a fedora core 2

    Thanks for your help

     
  • Evvolve SRL
    Evvolve SRL
    2005-06-24

    TimeTicks will come in 0.9.5 :)