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

Mailing List Archive: Linux Virtual Server: Users

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

 

 

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


robin-lists at robinbowes

Sep 30, 2009, 11:31 AM

Post #1 of 7 (531 views)
Permalink
[lvs-users] Is net-snmp-lvs-module maintained?

Hi,

I'm using the net-snmp-lvs-module which I've successfully built into an
x86_64 RPM and installed on CentOS 5.3 with net-snmp 5.4.2.1.

However, I'm seeing a couple of bugs, and I wondered if this module is
maintained, and where/who best to report them to?

Here are the problems I'm seeing:

1. When started up, I see this error in /var/log/messages:

Sep 30 14:04:32 a003 snmpd[25050]: IPVS initialization for
Sep 30 14:04:32 a003 snmpd[25050]: netsnmp_assert !"registration !=
duplicate" failed agent_registry.c:536 netsnmp_subtree_load()
Sep 30 14:04:32 a003 snmpd[25050]: NET-SNMP version 5.4.2.1

Looking in lvs.c, I see these lines in init_lvs:

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(lvsHashTableSize_oid),
HANDLER_CAN_RONLY));

netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsNumServices",
get_lvs_var, lvsHashTableSize_oid, OID_LENGTH(lvsHashTableSize_oid),
HANDLER_CAN_RONLY));

It seems to me that at least one of those is wrong/a duplicate.

I don't know if this is the cause of the error message


2. None of the Connection rate counters seem to be working, but the
bytes/packet counters are OK:

LVS-MIB::lvsServiceRateCps.1 = Gauge32: 0 <-- not working
LVS-MIB::lvsServiceRateInPPS.1 = Gauge32: 9672
LVS-MIB::lvsServiceRateOutPPS.1 = Gauge32: 0
LVS-MIB::lvsServiceRateInBPS.1 = Gauge32: 969111
LVS-MIB::lvsServiceRateOutBPS.1 = Gauge32: 0

LVS-MIB::lvsRealRateCps.1.1 = Gauge32: 0 <-- not working
LVS-MIB::lvsRealRateCps.1.2 = Gauge32: 0 <-- not working
LVS-MIB::lvsRealRateCps.1.3 = Gauge32: 0 <-- not working
LVS-MIB::lvsRealRateInPPS.1.1 = Gauge32: 3224
LVS-MIB::lvsRealRateInPPS.1.2 = Gauge32: 3224
LVS-MIB::lvsRealRateInPPS.1.3 = Gauge32: 3224
LVS-MIB::lvsRealRateOutPPS.1.1 = Gauge32: 0
LVS-MIB::lvsRealRateOutPPS.1.2 = Gauge32: 0
LVS-MIB::lvsRealRateOutPPS.1.3 = Gauge32: 0
LVS-MIB::lvsRealRateInBPS.1.1 = Gauge32: 323083
LVS-MIB::lvsRealRateInBPS.1.2 = Gauge32: 323025
LVS-MIB::lvsRealRateInBPS.1.3 = Gauge32: 323003
LVS-MIB::lvsRealRateOutBPS.1.1 = Gauge32: 0
LVS-MIB::lvsRealRateOutBPS.1.2 = Gauge32: 0
LVS-MIB::lvsRealRateOutBPS.1.3 = Gauge32: 0

(I'm using DR so I expect the "Out" counters to be 0.)

Is anyone listening who might be in a position to look at these issues?

Thanks,

R.


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

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


malcolm at loadbalancer

Sep 30, 2009, 1:10 PM

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

Robin,

I havent looked at it in a while but we used Laurentiu C. Badea (L.C.)
's patch to fix the 64Bit counters and seems to work fine on Centos
5.3 64bit.
Maybee it should be added to the LVSKB?





2009/9/30 Robin Bowes <robin-lists[at]robinbowes.com>
>
> Hi,
>
> I'm using the net-snmp-lvs-module which I've successfully built into an
> x86_64 RPM and installed on CentOS 5.3 with net-snmp 5.4.2.1.
>
> However, I'm seeing a couple of bugs, and I wondered if this module is
> maintained, and where/who best to report them to?
>
> Here are the problems I'm seeing:
>
> 1. When started up, I see this error in /var/log/messages:
>
> Sep 30 14:04:32 a003 snmpd[25050]: IPVS initialization for
> Sep 30 14:04:32 a003 snmpd[25050]: netsnmp_assert !"registration !=
> duplicate" failed agent_registry.c:536 netsnmp_subtree_load()
> Sep 30 14:04:32 a003 snmpd[25050]: NET-SNMP version 5.4.2.1
>
> Looking in lvs.c, I see these lines in init_lvs:
>
> 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(lvsHashTableSize_oid),
> HANDLER_CAN_RONLY));
>
> netsnmp_register_read_only_instance(netsnmp_create_handler_registration("lvsNumServices",
> get_lvs_var, lvsHashTableSize_oid, OID_LENGTH(lvsHashTableSize_oid),
> HANDLER_CAN_RONLY));
>
> It seems to me that at least one of those is wrong/a duplicate.
>
> I don't know if this is the cause of the error message
>
>
> 2. None of the Connection rate counters seem to be working, but the
> bytes/packet counters are OK:
>
> LVS-MIB::lvsServiceRateCps.1 = Gauge32: 0 <-- not working
> LVS-MIB::lvsServiceRateInPPS.1 = Gauge32: 9672
> LVS-MIB::lvsServiceRateOutPPS.1 = Gauge32: 0
> LVS-MIB::lvsServiceRateInBPS.1 = Gauge32: 969111
> LVS-MIB::lvsServiceRateOutBPS.1 = Gauge32: 0
>
> LVS-MIB::lvsRealRateCps.1.1 = Gauge32: 0 <-- not working
> LVS-MIB::lvsRealRateCps.1.2 = Gauge32: 0 <-- not working
> LVS-MIB::lvsRealRateCps.1.3 = Gauge32: 0 <-- not working
> LVS-MIB::lvsRealRateInPPS.1.1 = Gauge32: 3224
> LVS-MIB::lvsRealRateInPPS.1.2 = Gauge32: 3224
> LVS-MIB::lvsRealRateInPPS.1.3 = Gauge32: 3224
> LVS-MIB::lvsRealRateOutPPS.1.1 = Gauge32: 0
> LVS-MIB::lvsRealRateOutPPS.1.2 = Gauge32: 0
> LVS-MIB::lvsRealRateOutPPS.1.3 = Gauge32: 0
> LVS-MIB::lvsRealRateInBPS.1.1 = Gauge32: 323083
> LVS-MIB::lvsRealRateInBPS.1.2 = Gauge32: 323025
> LVS-MIB::lvsRealRateInBPS.1.3 = Gauge32: 323003
> LVS-MIB::lvsRealRateOutBPS.1.1 = Gauge32: 0
> LVS-MIB::lvsRealRateOutBPS.1.2 = Gauge32: 0
> LVS-MIB::lvsRealRateOutBPS.1.3 = Gauge32: 0
>
> (I'm using DR so I expect the "Out" counters to be 0.)
>
> Is anyone listening who might be in a position to look at these issues?
>
> Thanks,
>
> R.
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
> Send requests to lvs-users-request[at]LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users



--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/
Attachments: lvs-counter64.patch (2.02 KB)


robin at robinbowes

Sep 30, 2009, 2:09 PM

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

On 30/09/09 21:10, Malcolm Turnbull wrote:
> Robin,
>
> I havent looked at it in a while but we used Laurentiu C. Badea (L.C.)
> 's patch to fix the 64Bit counters and seems to work fine on Centos
> 5.3 64bit.
> Maybee it should be added to the LVSKB?

Malcolm,

I'm using that patch, and I think the counters do seem to be working.

R.
--
NOBODY expects the Spanish Inquisition! Our chief weapon is
surprise...surprise and fear...fear and surprise.... Our two weapons are
fear and surprise...and ruthless efficiency.... Our *three* weapons are
fear, surprise, and ruthless efficiency...and an almost fanatical
devotion to the Pope.... Our *four*...no... *Amongst* our weapons....
Amongst our weaponry...are such elements as fear, surprise.... I'll come
in again.

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

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


robin-lists at robinbowes

Sep 30, 2009, 2:33 PM

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

On 30/09/09 21:10, Malcolm Turnbull wrote:
> Robin,
>
> I havent looked at it in a while but we used Laurentiu C. Badea (L.C.)
> 's patch to fix the 64Bit counters and seems to work fine on Centos
> 5.3 64bit.
> Maybee it should be added to the LVSKB?

Malcolm,

I'm using that patch, and I think the counters do seem to be working.

R.

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

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


jmack at wm7d

Sep 30, 2009, 3:26 PM

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

On Wed, 30 Sep 2009, Malcolm Turnbull wrote:

> Robin,
>
> I havent looked at it in a while but we used Laurentiu C.
> Badea (L.C.)'s patch to fix the 64Bit counters and seems
> to work fine on Centos 5.3 64bit.

Are you guys using the file(s) I have linked from

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.monitoring_lvs.html#snmp

or are they out of date?

Robin,

If you get a better version, can you put your name
and changes up the top and send it to me?

Thanks 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.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


robin-lists at robinbowes

Sep 30, 2009, 4:25 PM

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

On 30/09/09 23:26, Joseph Mack NA3T wrote:
> On Wed, 30 Sep 2009, Malcolm Turnbull wrote:
>
>> Robin,
>>
>> I havent looked at it in a while but we used Laurentiu C.
>> Badea (L.C.)'s patch to fix the 64Bit counters and seems
>> to work fine on Centos 5.3 64bit.
>
> Are you guys using the file(s) I have linked from
>
> http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.monitoring_lvs.html#snmp
>
> or are they out of date?

I started with the 0.0.4-2 tarball, and an RPM spec file, and have
modified it to build on CentOS 5.3 x86_64.

>
> If you get a better version, can you put your name
> and changes up the top and send it to me?

I'll send you my SRPM. I've not tested that it builds OK on i386 - just
x86_64.

R.

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

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


malcolm at loadbalancer

Oct 1, 2009, 2:51 AM

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

Joseph,


I'm just using the original source + the 64 bit counter patch.
Which is all in the HOWTO.





2009/9/30 Joseph Mack NA3T <jmack[at]wm7d.net>:
> On Wed, 30 Sep 2009, Malcolm Turnbull wrote:
>
>> Robin,
>>
>> I havent looked at it in a while but we used Laurentiu C.
>> Badea (L.C.)'s patch to fix the 64Bit counters and seems
>> to work fine on Centos 5.3 64bit.
>
> Are you guys using the file(s) I have linked from
>
> http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.monitoring_lvs.html#snmp
>
> or are they out of date?
>
> Robin,
>
>        If you get a better version, can you put your name
> and changes up the top and send it to me?
>
> Thanks 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.org
> Send requests to lvs-users-request[at]LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>



--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

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

LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
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 lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.