LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Weird values for lvsServiceStatsInBytes

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Weird values for lvsServiceStatsInBytes
From: Jack Neely <jjneely@xxxxxxxx>
Date: Wed, 1 Oct 2008 22:12:28 -0400
Folks,

I've setup net-snmp-lvs in an attempt to move the monitoring of my
lvs/keepalived balancer into Cacti.  I've gotten most things working and
even have an RPM that folks might be interested in.  I've built this on
RHEL4 and 5 i386 (I believe it needs a bit of extra work for 64 bit
arches.)

    
http://install.linux.ncsu.edu/pub/yum/CLS/CLSTools.EL4/srpms/net-snmp-lvs-module-0.0.4-1.EL4.src.rpm

The values provided for the lvsServiceStatsInBytes attributes are not
right.  They don't seem to be bits or bytes.  Cacti is graphing out my
ssh service as doing terabytes of traffic per second.  Running snmpwalk
; sleep 2 ; snmpwalk gives me the following:

SNMPv2-SMI::enterprises.8225.4711.17.1.13.2 = Counter64: 4927135724047695874
SNMPv2-SMI::enterprises.8225.4711.17.1.13.2 = Counter64: 4927141668282433538

Running ipvsadm -L --stats for the same firewall mark prints out the
in bytes service counter at 9737M.

What have I messed up?

Thanks,
Jack Neely
-- 
Jack Neely <jjneely@xxxxxxxx>
Linux Czar, OIT Campus Linux Services
Office of Information Technology, NC State University
GPG Fingerprint: 1917 5AC1 E828 9337 7AA4  EA6B 213B 765F 3B6A 5B89


<Prev in Thread] Current Thread [Next in Thread>