[mrtg] Re: polling using SNMP V2c problem

Dave Sanders Dave_Sanders at sento.com
Mon Jan 28 17:51:10 MET 2002


Simon, I am getting the same message with my MRTG config as well.
WARNING: Expected a number but got '#<unprintable BER
 type 0x81>  I am running MRTG on a win/2000 box. Are there any updates
that I could run to fix this problem? I guess I didn't understand what I
needed to do with the SNMP_Session.pm/BER.pm on windows.



thanks,

Dave Sanders
Net Admin
Sento. Corp

-----Original Message-----
From: Simon Leinen [mailto:simon at limmat.switch.ch]
Sent: Saturday, January 26, 2002 3:41 PM
To: Yannis Nikolopoulos
Cc: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: polling using SNMP V2c problem



>>>>> "yn" == Yannis Nikolopoulos <yanodd at otenet.gr> writes:
> I recently upgraded from 2.8.4 to 2.9.17 in order to
> use SNMP V2c for polling. Things seem to work but i
> get quite a few of these:

> ---- 
> WARNING: Expected a number but got '#<unprintable BER type 0x81>'
> ----

> if this ASCII hex its not a printable char. Anybody got any ideas?

I think I have fixed this problem in SNMP_Session.pm/BER.pm 0.87 and
later.  SNMPv2 has different error handling than SNMPv1, and the code
didn't handle that well.

So if you are seeing this message, try the latest
SNMP_Session.pm/BER.pm from

  http://www.switch.ch/misc/leinen/snmp/perl

with MRTG, and please provide some feedback on how it works for you,
so that I can ask Tobi to ship this with future MRTG releases (or
not).
-- 
Simon.

--
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


--
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