[lvs-users] net-snmp-lvs-module SRPM: 64-bit counters not showing up in snmpwalk of 1.3.6.1.4.1.8225.4711.17.1

David Warden warden at geneseo.edu
Wed Jan 19 21:27:13 GMT 2011


 Hi all,

 I recently built 
 http://install.linux.ncsu.edu/pub/yum/CLS/CLSTools.EL4/srpms/net-snmp-lvs-module-0.0.4-2.EL4.src.rpm 
 on a 32-bit, Oracle Linux 5 (rebranded RHEL5) machine. The build and 
 LVS host both have the same versions of net-snmp. I can snmpwalk 
 1.3.6.1.4.1.8225.4711.17.1 on the LVS host after installing the compiled 
 RPM, but snmpwalk does not find anything at 
 1.3.6.1.4.1.8225.4711.17.1.13 or 1.3.6.1.4.1.8225.4711.17.1.14. I put 
 log statements in the static int lvsServiceTable_handler function in 
 lvs.c and it is definitely going into the COLUMN_LVSSERVICESTATSINBYTES 
 and COLUMN_LVSSERVICESTATSOUTBYTES case statements in that function's 
 switch statement when I try to hit 1.3.6.1.4.1.8225.4711.17.1.13 or 
 1.3.6.1.4.1.8225.4711.17.1.14. I'm wondering if anyone has run into this 
 before or has some advice on the best next step for figuring out why I'm 
 not getting those values.

 -David Warden

 Here's the info about my snmp RPM versions:

 # rpm -qa|grep snmp|xargs rpm -qi
 Name        : net-snmp-libs                Relocations: (not 
 relocatable)
 Version     : 5.3.2.2                           Vendor: Oracle America
 Release     : 9.el5_5.1                     Build Date: Tue 18 May 2010 
 06:42:30 AM EDT
 Install Date: Mon 30 Aug 2010 11:24:48 AM EDT      Build Host: 
 ca-build9.us.oracle.com
 Group       : Development/Libraries         Source RPM: 
 net-snmp-5.3.2.2-9.el5_5.1.src.rpm
 Size        : 3317632                          License: BSDish
 Signature   : DSA/SHA1, Tue 18 May 2010 06:44:14 AM EDT, Key ID 
 66ced3de1e5e0159
 URL         : http://net-snmp.sourceforge.net/
 Summary     : The NET-SNMP runtime libraries.
 Description :
 The net-snmp-libs package contains the runtime libraries for shared 
 binaries
 and applications.
 Name        : net-snmp-lvs-module          Relocations: (not 
 relocatable)
 Version     : 0.0.4                             Vendor: (none)
 Release     : 2                             Build Date: Wed 19 Jan 2011 
 12:24:33 PM EST
 Install Date: Wed 19 Jan 2011 12:28:40 PM EST      Build Host: 
 tools.geneseo.edu
 Group       : System Environment/Daemons    Source RPM: 
 net-snmp-lvs-module-0.0.4-2.src.rpm
 Size        : 78083                            License: GPLv2+
 Signature   : (none)
 URL         : http://www.linuxvirtualserver.org
 Summary     : net-snmp module to gather information from IPVS
 Description :
 net-snmpd-lvs-module is a dynamicaly loadable shared object to get the
 configuration and some statistical information from the Linux kernel
 with IP virtual server support (also known as Linux Virtual Server).
 Name        : net-snmp                     Relocations: (not 
 relocatable)
 Version     : 5.3.2.2                           Vendor: Oracle America
 Release     : 9.el5_5.1                     Build Date: Tue 18 May 2010 
 06:42:30 AM EDT
 Install Date: Mon 30 Aug 2010 11:24:48 AM EDT      Build Host: 
 ca-build9.us.oracle.com
 Group       : System Environment/Daemons    Source RPM: 
 net-snmp-5.3.2.2-9.el5_5.1.src.rpm
 Size        : 2899180                          License: BSDish
 Signature   : DSA/SHA1, Tue 18 May 2010 06:44:10 AM EDT, Key ID 
 66ced3de1e5e0159
 URL         : http://net-snmp.sourceforge.net/
 Summary     : A collection of SNMP protocol tools and libraries.
 Description :
 SNMP (Simple Network Management Protocol) is a protocol used for
 network management. The NET-SNMP project includes various SNMP tools:
 an extensible agent, an SNMP library, tools for requesting or setting
 information from SNMP agents, tools for generating and handling SNMP
 traps, a version of the netstat command which uses SNMP, and a Tk/Perl
 mib browser. This package contains the snmpd and snmptrapd daemons,
 documentation, etc.

 You will probably also want to install the net-snmp-utils package,
 which contains NET-SNMP utilities.

 Building option:
 	--without tcp_wrappers : disable tcp_wrappers support





More information about the lvs-users mailing list