LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] net-snmp-lvs-module

To: LinuxVirtualServer.org users mailing list. <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] net-snmp-lvs-module
Cc: Horms <horms@xxxxxxxxxxxx>
From: Michael Moody <michael@xxxxxx>
Date: Mon, 21 Jul 2008 18:41:54 -0700
It turned out to be remarkable simple once I attached strace/gdb. In ubuntu, 
the default behavior is to run snmpd as the snmp user. Consequently, it meant 
that the snmpd process had no access to the files it needed to gather 
information for net-snmp-lvs module.

Michael

-----Original Message-----
From: Joseph Mack NA3T [mailto:jmack@xxxxxxxx]
Sent: Tuesday, July 01, 2008 7:18 PM
To: Michael Moody
Cc: LinuxVirtualServer.org users mailing list.; Horms
Subject: Re: [lvs-users] net-snmp-lvs-module

On Tue, 1 Jul 2008, Michael Moody wrote:

> The -fPIC isn't my problem

understand, but it would still be nice to have ipvsadm
fixed.

> (in fact, I brought that fix to
> the list's attention a few months back in February, and
> you said you'd update the howto).

mea culpa. sorry I've had no time (and I'm asking others to
fix ipvsadm as I say that).

> The problem I'm having is Ubuntu-specific is my guess, as
> the same module (64bit, etc) is working on a gentoo
> install just fine.

the lvs-net-snmp module works fine in gentoo but not ubuntu?
I didn't realise this. Why do people mess with working code?

> That's specifically what I'm looking to solve. It's not
> snmp, as the line which generates that output comes from
> the snmp lvs module lvs.c
>
> Hopefully someone has an answer, otherwise, looks like
> I'll be elbows deep in the lvs.c today.

I expect you'll be rolling up your sleeves. Good luck. Let
us know how it goes.

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!




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