Re: Setting up SNMP

From: Krzysztof Oledzki <>
Date: Wed, 4 Feb 2009 02:12:43 +0100 (CET)

On Tue, 3 Feb 2009, Ruy Diaz wrote:

> Apologies about the top-posting.
> I have moved the stats socket to the global section (I had it in defaults)
> and now I can see /var/run/haproxy.stat.


> However, I am still getting the "No
> more variables left in this MIB View (It is past the end of the MIB tree)"
> error.

Bad :(

> If I monitor syslog, I can see that a connection is being made, but I have a
> feeling that the script is having some sort of problem accessing
> the information from the socket. Although this time when I ran perl
> /etc/snmp/, the error I received was different:
> $ perl /etc/snmp/
> NetSNMP::agent object version 5.0401 does not match bootstrap parameter
> 5.04021 at /usr/lib/perl/5.10/ line 219.

Your perl/net-snmp environment is damaged. You have mismatched files from and 5.4.1.

> Compilation failed in require at /etc/snmp/ line 18.
> BEGIN failed--compilation aborted at /etc/snmp/ line 18.
> During my previous fiddling around trying to find the root of the problem, I
> did copy net-snmp- to
> /usr/local/lib/perl/5.10.0/NetSNMP/

So now you have one file from and others from 5.4.1. My suggestion is to stick with 5.4.1 or to make a proper upgrade to

> I'm not sure if this has an impact or if I maybe overwrote something
> that was already there.

I doubt that the script gets loaded. However, you may try to walk to check if the problem is with accessing the socket.

Best regards,

                                 Krzysztof Olędzki Received on 2009/02/04 02:12

This archive was generated by hypermail 2.2.0 : 2009/02/04 02:15 CET