Having got over the excitement of getting SNMP data out of LVS...
Malcolm
lists at loadbalancer.org
Mon Nov 20 09:41:58 GMT 2006
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.)
Search lvs-users Archives
More information about the lvs-users
mailing list