Hi,

I write this for another context:

Target[SE-ULUS-HUAWEI-1-OnlineUsers-context-teknosa]:
1.3.6.1.4.1.2352.2.27.1.2.1.1.1.*7*
.116.101.107.110.111.115.97&1.3.6.1.4.1.2352.2.27.1.2.1.1.1.*7*.
116.101.107.110.111.115.97:[email protected]<116.101.107.110.111.115.97%[email protected]>

Here I totally have 7 chatacters for "teknosa" and it works well.

But the previous was "guvenlikank". Maybe ASCII characters does not support
the numbers more than 9.

???


Ufuk.

2010/2/15 Mike Mitchell <[email protected]>

>  It isn’t complaining about those elevens.  It is complaining about the
> very first portion of the OID.  Somehow it is thinking the OID specification
> is starting 11.3.6.1.4, and not 1.3.6.1.4.  Look in an editor and see if you
> have any embedded non-printing characters at the very beginning of the OID
> specifications.
>
>
>
> Another trick you can try for your OID specification is to but the text in
> quotes, like
>
>   1.3.6.1.4.1.2352.2.27.1.2.1.1.1.”guvenlik”
>
> The underlying SNMP routines know how to convert quoted strings into OID
> specifications.  I’m not sure about MRTG configuration parser, but I do know
> the SNMP modules it uses will handle the conversions.
>
>
>
> Mike Mitchell
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Ufuk Eskici
> *Sent:* Monday, February 15, 2010 8:42 AM
> *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

Reply via email to