Hi Steve, I've already solved my problem.
Thank you! 2010/2/15 Steve Shipway <[email protected]> > It looks to me like the problem may be a limitation in the OID encoding > used by MRTG (this is a really long OID). You don’t give the version of > MRTG you are using so it’s a bit hard to track down, but a bit of seeking > shows this error is being generated by BER.pm > > > > First make sure you have the latest MRTG and BER.pm (this comes with MRTG > but make sure you don’t have old versions lying about). > > > > The error message says “cannot encode Object ID 11.3.6.1.4.1”… which seems > to indicate that you have a typo in your MRTG cfg file; specifically, you > have an OID starting 11.3.6 instead of 1.3.6. This would be illegal which > is what the BER.pm is checking for. Please check your CFG files carefully > to make sure you don’t have an illegal OID like this anywhere, if you don’t > it may be cause by a bug somehow (although Im not sure how ) > > > > Steve > > > ------------------------------ > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Ufuk Eskici > *Sent:* Tuesday, 16 February 2010 2:42 a.m. > *To:* [email protected] > *Subject:* [mrtg] Object ID problem > > > > > > Hi, > > > > This is my target line: > > > > Target[SE-ULUS-HUAWEI-1-OnlineUsers-context-guvenlikank]: > 1.3.6.1.4.1.2352.2.27.1.2.1.1.1.*11* > .103.117.118.101.110.108.105.107.97.110.107&1.3.6.1.4.1.2352.2.27.1.2.1.1.1. > *11*.103.117.118.101.110.108.105.107.97.110.107:[email protected]<103.117.118.101.110.108.105.107.97.110.107%[email protected]> > > "11" is the total number of characters of the target (here the target tecxt > is "guvenlik") > > > > But when I run the .cfg file I got this error: > > > > ........... > > Do Not close this window. Or MRTG will die > cannot encode Object ID 11 > .3.6.1.4.1.2352.2.27.1.2.1.1.1.11.103.117.118.101.110. > 108.105.107.97.110.107: first subid too big in Object ID 11 > .3.6.1.4.1.2352.2.27. > 1.2.1.1.1.11.103.117.118.101.110.108.105.107.97.110.107 at mrtg line 2202 > > .......... > > > > Maybe this part cannt be more than "9". How can I write "11" in another > way? > > > > > > thnx > > > > > -- > Ufuk Eskici > -- Ufuk Eskici
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
