[mrtg] Object ID problem
Steve Shipway
s.shipway at auckland.ac.nz
Mon Feb 15 21:51:55 CET 2010
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: mrtg-bounces at lists.oetiker.ch [mailto:mrtg-bounces at lists.oetiker.ch] On Behalf Of Ufuk Eskici
Sent: Tuesday, 16 February 2010 2:42 a.m.
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<mailto: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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20100216/861bb8ec/attachment.htm
More information about the mrtg
mailing list