[mrtg] Re: MRTG losing Bytes in Octet string

Rene Buechler rene.buechler at zurich.com
Fri May 28 10:47:50 MEST 2004

I tried allready to comment out this line, with no success.
At this point, these bytes are allready missing.

Regards René

On Fri, 28 May 2004 10:03:36 +0200, Rene Buechler wrote
in <OF22DD81DF.4EBD3A4A-ONC1256EA2.002A89F2 at email.zurich.com>:
> I was able to find inside the mrtg module the array
> (@ ret and @final) where the octet string is stored.
> I've found that when inside the octet string is a hex value of
> 0x0a or 0x0d, this byte is allready lost.

Does it work if you commented out line 1934 of mrtg script?

  map{ $_ =~ s/\n|\r//g if defined $_ } @res;

It surely removes CR/LF before calling Conversion code.

Takumi Yamane <yamtak at b-session.com>

******************* PLEASE NOTE *******************
This message, along with any attachments, may be confidential or legally
privileged.  It is intended only for the named person(s), who is/are the
only authorized recipients. If this message has reached you in error,
kindly destroy it without review and notify the sender immediately. Thank
you for your help.

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list