Re: [Vserver] snmp & vserver

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 04 Dec 2006 - 04:03:55 GMT
Message-ID: <20061204040355.GC2664@MAIL.13thfloor.at>

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
> adrien@modulis.ca
> www.modulis.ca
>
> Technical questions? support@modulis.ca
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Dec 4 04:06:48 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 04 Dec 2006 - 04:06:52 GMT by hypermail 2.1.8