Re: [Vserver] snmp & vserver

From: Chuck <chuck_at_sbbsnet.net>
Date: Mon 04 Dec 2006 - 02:51:43 GMT
Message-Id: <200612032151.43849.chuck@sbbsnet.net>

On Sunday 03 December 2006 21:31, 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
>
>
> 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
> ?

i have not done it myself but one of our techs has cacti successfully running
inside a vserver. for the first thing, set localhost to the guest primary ip
in /etc/hosts and do a grep on the config files of the programs you use to
find all instances of 127.0.0.1. change them to the primary ip of your guest.

once all that is done i believe it should work properly for you in testing
your guests. he has monitoring all of our guests.

>
> - When I graph the snmp from guest I get the ip & data of the host
192.168.0.1
>
> - Do you know an easy way on how I could get network stat per ip for
> all the vservers ?
>
>
> 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
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Dec 4 02:55:59 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 04 Dec 2006 - 02:56:05 GMT by hypermail 2.1.8