LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] SNMP MIB for LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] SNMP MIB for LVS
From: "Sebastian Krueger" <sebykrueger@xxxxxxxxx>
Date: Wed, 24 Sep 2008 17:09:41 +1200
Hey guys, I'm trying to get this SNMP LVS MIB going.

I've followed all the instructions from here:
http://www.loadbalancer.org/download/SNMP/SNMP-README.txt

Except that I used the already installed version of SNMP (the RPM is
the same version as from loadbalancer.org).

The MIB translation works.

eaidir2-rv2q:/etc/snmp # snmptranslate -m LVS-MIB -On -IR lvsServiceEntry
.1.3.6.1.4.1.8225.4711.17.1
eaidir2-rv2q:/etc/snmp #

I've added in this line to the snmpd.conf file (as described in the
README from loadbalancer.org):
dlmod lvs /usr/local/lib/libnetsnmplvs.so

I then restart snmp and do an snmpwalk:

eaidir2-rv2q:/etc/snmp # snmpwalk -Ou -c public -v 2c localhost enterprises
...
snipp (lot's of values displayed)
...
enterprises.netSnmp.netSnmpObjects.nsConfiguration.nsConfigLogging.nsLoggingTable.nsLoggingEntry.nsLogStatus.debug.'/var/log/net-snmpd.log'
= INTEGER: active(1)
Timeout: No Response from localhost
eaidir2-rv2q:/etc/snmp #

And at that point snmpd crashes every time although I have put the
libnetsnmplvs.so in the correct place.

I'm guessing it's because the libnetsnmplvs.so is not found. Any ideas
on how to debug this would be much appreciated. Is the dlmod directive
in snmpd.conf maybe not the right thing to do?

Thanks, Sebastian.

On Tue, Sep 23, 2008 at 11:29 AM, Sebastian Krueger
<sebykrueger@xxxxxxxxx> wrote:
> Thanks. :)
>
> On Mon, Sep 22, 2008 at 9:32 PM, Malcolm Turnbull
> <malcolm@xxxxxxxxxxxxxxxx> wrote:
>> Sebastian,
>>
>> Their is one here:
>> http://www.loadbalancer.org/download/SNMP/
>>
>> I think the official link is on the wiki?
>>
>>
>>
>>
>>
>> 2008/9/22 Sebastian Krueger <sebykrueger@xxxxxxxxx>:
>>> Hi guys,
>>>
>>> can anyone tell me where I can find the MIB for LVS so that I can
>>> monitor ldirectord via snmp? I've found several references on the net
>>> that this exists, but I couldn't find a download link.
>>>
>>> Thanks, Sebastian.
>>>
>>> _______________________________________________
>>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>>> 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/
>>
>> _______________________________________________
>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
>>
>


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