[mrtg] Object ID problem

Ufuk Eskici ufukeskici at gmail.com
Mon Feb 15 15:38:16 CET 2010


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:admin at 212.156.232.1<116.101.107.110.111.115.97%3Aadmin at 212.156.232.1>

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 <Mike.Mitchell at sas.com>

>  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:* mrtg-bounces at lists.oetiker.ch [mailto:
> mrtg-bounces at lists.oetiker.ch] *On Behalf Of *Ufuk Eskici
> *Sent:* Monday, February 15, 2010 8:42 AM
> *To:* mrtg at lists.oetiker.ch
> *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:admin at 212.156.232.1<103.117.118.101.110.108.105.107.97.110.107%3Aadmin at 212.156.232.1>
>
> "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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100215/957735a5/attachment-0001.htm 


More information about the mrtg mailing list