<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>113260</bug_id>
          
          <creation_ts>2005-11-22 09:46 0000</creation_ts>
          <short_desc>request a new version of net-snmp, version before 5.3-dev4 have uggly disfonctional features</short_desc>
          <delta_ts>2005-11-26 06:43:31 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>groux+gentoo@exalead.com</reporter>
          <assigned_to>netmon@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>groux+gentoo@exalead.com</who>
            <bug_when>2005-11-22 09:46:09 0000</bug_when>
            <thetext>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 &quot;$ yes &gt;/dev/null&quot;
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>strerror@gentoo.org</who>
            <bug_when>2005-11-26 06:43:31 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
      
    </bug>

</bugzilla>