On Sun, Dec 03, 2006 at 09:31:14PM -0500, Adrien Laurent wrote:
> Hi,
> 
> With the setup:
> host: centos 4 - 2.6.18.1-vs2.0.2.2-rc4 - eth0(192.168.0.1) -
> lo(127.0.0.1) -> runs snmp
> guest: centos 4 - eth0(192.168.0.2) -> runs snmp & cacti

you probably do not want to run snmp inside a guest,
instead you want to monitor the guest from the host
(which saves you tasks and provides more information)

> I'm trying to graph the usage of my vserver using snmp and cacti; I
> face the following problems:
> 
> - Cacti default setup ping 127.0.0.1 which is not activated by default
> on my vserver guest, is it possible to enable lo(127.0.0.1) on a guest
> ?

it should 'ping' localhost, if it actually 'pings'
127.0.0.1, it is broken, otherwise just adjust
/etc/hosts to list the first assigned ip as localhost

> - When I graph the snmp from guest I get the ip & data of the host 
> 192.168.0.1

probably because you actually connect to the snmp
running on the host ...

> - Do you know an easy way on how I could get network stat per ip for
> all the vservers ?

use an iptables accounting rule to get 'on wire'
statistics for single ips (or groups of ips)

HTH,
Herbert

> Thanks a lot for any help !
> 
> 
> Adrien
> 
> 
> 
> -- 
> Adrien Laurent
> Chief Information Officer
> (514) 284-2020 x 202
> [EMAIL PROTECTED]
> www.modulis.ca
> 
> Technical questions? [EMAIL PROTECTED]
> _______________________________________________
> Vserver mailing list
> [email protected]
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
[email protected]
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to