Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113260 - request a new version of net-snmp, version before 5.3-dev4 have uggly disfonctional features
Summary: request a new version of net-snmp, version before 5.3-dev4 have uggly disfonc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 09:46 UTC by richard Groux
Modified: 2005-11-26 06:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description richard Groux 2005-11-22 09:46:09 UTC
cause in previous version of net-snmp, there are some uggly bugs like:

on 64bits arch, the IF-MIB::ifInOctets.2 return a 64bits integer but must return
a 32bits integer and if you request this OID on a 32bits arch we have this

snmpwalk -c public -v1 Host IF-MIB::ifInOctets.2
IF-MIB::ifInOctets.2 = Counter32: 0

and on 64bits we have
IF-MIB::ifInOctets.2 = Counter32: 118735921106

another problem is  the CPU Counter
not works at all before 5.3-dev4 version.

can we hope an upgrade of gentoo portage and add this?

i write a bug report to net-snmp and the staff tell me this bug is close since
5.3-dev4



Reproducible: Always
Steps to Reproduce:
*on 32 bits host to 64 bits host*
1) uname -msp
2) $snmpwalk -c public -v1 Host IF-MIB::ifInOctets.2
*on 64 bits host to 64 bits host*
3) uname -msp
4) snmpwalk -c public -v1 Host IF-MIB::ifInOctets.2
*for the CPU Usage*
5) snmpget host UCD-SNMP-MIB::ssCpuUser.0
6) on host "$ yes >/dev/null"
7) snmpget host UCD-SNMP-MIB::ssCpuUser.0
and the value never change id snmpd is 5.2.1.X or 5.3.20050624, but it s ok with
5.3-dev4




Actual Results:  
1) Linux i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
2) IF-MIB::ifInOctets.2 = Counter32: 0
3) Linux x86_64 AMD Opteron (tm) Processor 844
4) IF-MIB::ifInOctets.2 = Counter32: 118735921106
5) UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 6
6) -
6) a value not 100%/(number of CPU) 

Expected Results:  
2)IF-MIB::ifInOctets.2 = Counter32: 118735921106
6) UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 25 (cause 4 CPU)

it s not a gentoo bug but a net-snmp bug, the net-snmp staff tell me to upgrade
to the net-snmp 5.3-dev4 version, and i which to have this in a few in portage.

for now i must install on my server outside portage or work with old version.
Comment 1 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-11-26 06:43:31 UTC
net-snmp-5.3_pre4 is in cvs, please try and let us know if there are any problems.
NOTE: it is currently masked so you will need to add net-analyzer/net-snmp to
/etc/portage/package.unmask