LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Having got over the excitement of getting SNMP data out of LVS...

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Having got over the excitement of getting SNMP data out of LVS...
From: Malcolm <lists@xxxxxxxxxxxxxxxx>
Date: Mon, 20 Nov 2006 09:41:58 +0000

Having got over the excitement of getting SNMP data out of LVS...
Everything looks great except that the InBytes counter seems out of whack?

If I clear the packet counters then:
snmpwalk -c public -v 2c -m LVS-MIB localhost 1.3.6.1.4.1.8225.4711
Returns zero for everything as expected.

But if I test access one html page through the LVS I get:

LVS-MIB::lvsRealStatsInBytes.2.4 = Counter64: 6103148527616

But ipvsadm correctly shows 1525
Grab another page and I get:
LVS-MIB::lvsRealStatsInBytes.2.4 = Counter64: 12652973654016
ipvsadm shows: 3050

Do you need to do something special with the output from 64bit counters? (divide by a billion?)

and then...
4471
19426137079808

It also shows both configured virtual servers to have the same traffic (inBytes) even though one is in active.

I'm going to try installing from scratch again to see if that makes a difference (current ipvsadm had ops patch will try a vanilla one.)




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