Re: [Vserver] Bandwidth Monitoring

2007-01-03 Thread Tom Laermans
On Tue, Jan 02, 2007 at 10:21:31PM -0500, Adrien Laurent wrote:
 Hi and happy new year !
 
 I'd like to monitor bandwidth through snmp from the master server.
 When I hit ifconfig in the master I only get it's interfaces not the 
 ones of the vservers.
 
 Is it possible to see the vserver interfaces from the master ?

I am using IPFM to monitor traffic per IP address.

I haven't gotten around to writing a plugin for net-snmp to use that data to
be able to report through SNMP though.. been thinking about how to do it in
my (rare) spare time... :) just doing it is not that hard but I'd like to
integrate it into the rest of the interfaces. *hmm, idea about how*

I'll unfortunately be pretty busy for the next few weeks ...

Tom
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] Bandwidth Monitoring

2007-01-03 Thread Adrien Laurent
Thanks,

I tried to setup iptables for accounting but It doesn't start on my
master vserver:


# iptables -A FORWARD -s 192.168.0.2
iptables v1.2.11: can't initialize iptables table `filter': iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


I think it's kernel issue, maybe bad configured, but I remember using
the default make menuconfig configuration.


I'll first try to fix this then I'll try to feed the iptable accounting
result into snmp.

Adrien



-Original Message-
From: Tom Laermans [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 03, 2007 7:33 AM
To: vserver@list.linux-vserver.org; Adrien Laurent
Subject: Re: [Vserver] Bandwidth Monitoring

On Tue, Jan 02, 2007 at 10:21:31PM -0500, Adrien Laurent wrote:
 Hi and happy new year !
 
 I'd like to monitor bandwidth through snmp from the master server.
 When I hit ifconfig in the master I only get it's interfaces not the 
 ones of the vservers.
 
 Is it possible to see the vserver interfaces from the master ?

I am using IPFM to monitor traffic per IP address.

I haven't gotten around to writing a plugin for net-snmp to use that
data to
be able to report through SNMP though.. been thinking about how to do it
in
my (rare) spare time... :) just doing it is not that hard but I'd like
to
integrate it into the rest of the interfaces. *hmm, idea about how*

I'll unfortunately be pretty busy for the next few weeks ...

Tom

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] Bandwidth Monitoring

2007-01-02 Thread Adrien Laurent

Hi and happy new year !

I'd like to monitor bandwidth through snmp from the master server.
When I hit ifconfig in the master I only get it's interfaces not the 
ones of the vservers.


Is it possible to see the vserver interfaces from the master ?

Thanks

Adrien






--
Adrien Laurent - CIO
(514) 284-2020 x 202
http://www.modulis.ca
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver