So, the in tree version already had that problem...

There are some known issues with net-snmp. I'll try to look
into it.

Regards,
rui


On Sun, Sep 21, 2008 at 10:50:31PM +0200, LÉVAI Dániel wrote:
> Hi!
> 
> I'm using mrtg with snmpv3 on my 4.3 OpenBSD system. The net-snmp port 
> is being used as my snmp daemon but since 5.4.1.1p1 it doesn't work 
> with mrtg. My usual mrtg command yields this:
> 
> $ /usr/local/bin/mrtg --user mrtg \
> --group stats --lock-file /tmp/mrtg.lock /etc/mrtg.cfg
> 2008-09-21 22:05:28: WARNING: Expected a number but got 'noSuchInstance'
> 2008-09-21 22:05:28: WARNING: Expected a number but got 'noSuchInstance'
> 2008-09-21 22:05:28: ERROR: Target[janos_1][_IN_] ' $target->[0]
> {$mode} ' did not eval into defined data
> 2008-09-21 22:05:28: ERROR: Target[janos_1][_OUT_] ' $target->[0]
> {$mode} ' did not eval into defined data
> 
> With net-snmp 5.4.1.1p0 it works. Since then it doesn't.
> 
> My relevant lines from mrtg.cfg:
> -------------------------------------------------------
> EnableIPv6: no
> enablesnmpv3: yes
> LogFormat: rrdtool
> LoadMIBs: /usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt
> 
> Target[janos_1]: 1:[EMAIL PROTECTED]:::::3
> SnmpOptions[janos_1]: 
> authkey=>'myauthkey',authprotocol=>'sha',privprotocol=>'aescfb128',username=>'myusername',privkey=>'myprivacykey'
> -------------------------------------------------------
> 
> I'm kind of stuck here. Anyone else has the same config or problem, or 
> has any ideas?
> 
> Thanks in advance!
> 
> Daniel
> 
> -- 
> LEVAI Daniel
> PGP key ID = 0x4AC0A4B1
> Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1
> 

Reply via email to