[mrtg] Re: polling using SNMP V2c problem

Simon Leinen simon at limmat.switch.ch
Sat Jan 26 23:41:12 MET 2002


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



More information about the mrtg mailing list