Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

Re: [lvs-users] Is net-snmp-lvs-module maintained?

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


jmack at wm7d

Sep 30, 2009, 11:49 AM

Post #1 of 2 (536 views)
Permalink
Re: [lvs-users] Is net-snmp-lvs-module maintained?

On Wed, 30 Sep 2009, Robin Bowes wrote:

> Hi,
>
> I'm using the net-snmp-lvs-module
.
.
> and I wondered if this module is
> maintained, and where/who best to report them to?

Here's as good a spot as any.

We only see people (trying to) use this code now and again.
AFAIK it's not being maintained. I expect the only changes
are minor ones caused by changes in format of ip_vs output,
so you may be able to fix the bugs and make them available
for the rest of the world.

Failing that Salvatore (in the HOWTO) has rrdtool code to
monitor LVS.

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


robin-lists at robinbowes

Sep 30, 2009, 1:30 PM

Post #2 of 2 (478 views)
Permalink
Re: [lvs-users] Is net-snmp-lvs-module maintained? [In reply to]

On 30/09/09 19:49, Joseph Mack NA3T wrote:
> On Wed, 30 Sep 2009, Robin Bowes wrote:
>
>> Hi,
>>
>> I'm using the net-snmp-lvs-module
> .
> .
>> and I wondered if this module is
>> maintained, and where/who best to report them to?
>
> Here's as good a spot as any.
>
> We only see people (trying to) use this code now and again.
> AFAIK it's not being maintained. I expect the only changes
> are minor ones caused by changes in format of ip_vs output,
> so you may be able to fix the bugs and make them available
> for the rest of the world.

Joe,

I sorted out the duplication that I noticed in lvs.c and not only did it
silence the warnings on snmpd startup, but it seemed to fix the counters
too:

LVS-MIB::lvsServiceRateCps.1 = Gauge32: 54
LVS-MIB::lvsRealRateCps.1.1 = Gauge32: 18
LVS-MIB::lvsRealRateCps.1.2 = Gauge32: 18
LVS-MIB::lvsRealRateCps.1.3 = Gauge32: 18

However, this stopped working after a while, and I can't find a test
case that shows definitively when it starts/stops working.

I'd appreciate any help fixing that issue.

Any takers?? :)

Anyway, here's the patch for the duplicate registration issue:

--- net-snmp-lvs-module-0.0.4/lvs.c.orig 2009-09-30
20:08:06.000000000 +0000
+++ net-snmp-lvs-module-0.0.4/lvs.c 2009-09-30 20:09:15.000000000 +0000
@@ -495,8 +495,7 @@
snmp_log(LOG_INFO, "IPVS initialization for ");

netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsVersion",
get_lvs_var, lvsVersion_oid, OID_LENGTH(lvsVersion_oid), HANDL
ER_CAN_RONLY));

netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsNumServices",
get_lvs_var, lvsNumServices_oid, OID_LENGTH(lvsNumServices
_oid), HANDLER_CAN_RONLY));
-
netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsNumServices",
get_lvs_var, lvsHashTableSize_oid, OID_LENGTH(lvsHashTable
Size_oid), HANDLER_CAN_RONLY));
-
netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsNumServices",
get_lvs_var, lvsHashTableSize_oid, OID_LENGTH(lvsHashTable
Size_oid), HANDLER_CAN_RONLY));
+
netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsHashTableSize",
get_lvs_var, lvsHashTableSize_oid, OID_LENGTH(lvsHashTab
leSize_oid), HANDLER_CAN_RONLY));

netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsTcpTimeOut",
get_lvs_var, lvsTcpTimeOut_oid, OID_LENGTH(lvsTcpTimeOut_oi
d), HANDLER_CAN_RONLY));

netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsTcpTimeOutFin",
get_lvs_var, lvsTcpTimeOutFin_oid, OID_LENGTH(lvsTcpTime
OutFin_oid), HANDLER_CAN_RONLY));

netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsUdpTimeOut",
get_lvs_var, lvsUdpTimeOut_oid, OID_LENGTH(lvsUdpTimeOut_oi
d), HANDLER_CAN_RONLY));

R.

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.