Subject: Re: [vserver] SNMP-problems
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Wed, 30 Sep 2009 19:31:41 +0200

On Wed, Sep 30, 2009 at 04:27:43PM +0200, Andre Timmermann wrote:
> Hello list,
> 
> we are encountering some problems with the snmp-daemon on different
> vserverkernels.
> 
> We need snmpd for monitoring on alls vserverhosts and on some of the
> guests. 
> 
> Our main systems have 2.6.22.18 grsec2.1.11 vs2.2.0.6
> Everything ist working properly.
> 
> Our new system has got 2.6.28.7 grsec2.1.13 vs2.3.0.36.7 
> The SNMP-Server on the host is up and running (only bound to one IP)

I'd suggest using 2.6.27.x or going for a more recent
2.6.31.x and be careful with grsec, it might cause
some unwanted effects and stability issues ...

> On the guest it is not possible to start the snmp-server:
> 
> # snmpd -f 192.168.0.1
> 
> No log handling enabled - turning on stderr logging
> error getting netmask for interface 0
> could not open /proc/net/if_inet6
> error getting netmask for interface 0
> error getting netmask for interface 0
> Error opening specified endpoint "192.1668.0.1"
				~~~~~~~~~~~~~~~~~ looks wrong
> Server Exiting with code 1

> We are working with debian lenny, the installation ist equal on all
> systems, only the kernel has changed.

best,
Herbert

if you or your company use and like the Linux-VServer project, 
why not consider donating hardware or money, or getting a
service contract with the developers to ensure that it will
live on and continue to provide high quality free software?

> Best regards,
> Andre
> 
> 
> -- 
> Mit freundlichen Gruessen
> 
> Andre Timmermann
> Nine Internet Solutions AG, Albisriederstr. 243c, CH-8047 Zuerich
>