[mrtg] Error with snmp-options version 2

Oscar Ricardo Silva oscars at mail.utexas.edu
Wed May 1 23:58:10 MEST 2002


Using the following cfg file entries, with cfgmaker having been given the 
option --snmp-options=:::::2


### Interface 3 >> Descr: 'eth1' | Name: '' | Ip: '0.0.0.0' | Eth: '' ###

Target[foo.com]: 3:public at foo.com:::::2


### Interface 4 >> Descr: 'eth1.998' | Name: '' | Ip: '128.83.173.1' | Eth: 
'' ###

Target[foo.com]: 4:public at foo.com:::::2



I get the errors:

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


These are linux machines (kernel 2.2.19, net-snmp 4.2.1).  If I remove the 
snmp-options ":::::2" from the cfg lines, running mrtg on the cfg files 
works without a problem.

Any thoughts?  I'll admit, still fairly new to this.  Is there any 
advantage in using version 2?



Oscar


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