Tobias Klausmann :
> We're using IPVS/LVS and keepalived in a loadbalancing-and-failover
> setup. In order to provide monitoring and statistical services,
> it would be nice to have a quick and not too CPU-bound way to
> determine how many active (i.e. ESTABLISHED) connections there
> are at a given point in time. Ideally, this statistic would be
> per real server.
[...]
> My first idea was to keep a counter in the table for every real
> server and provide that in a dedicated /proc file, but that might
> be a bad idea. I'm not much of a kernel hacker, either, so any
> ideas would be nice to know of.
I used to use both ipvsadm -Ln | grep | wc and the ipvs snmp MIB.
François.
|