Re: [Vserver] snmp & vserver

From: Adrien Laurent <adrien_at_modulis.ca>
Date: Mon 04 Dec 2006 - 02:59:55 GMT
Message-ID: <5d5f621f0612031859k684b7daaqf6991fdfcc86ef6c@mail.gmail.com>

Thanks,

Actually, that's what I did; I replace 127.0.0.1 with the ip of the guest.
But I fear that I will meet one time or another a program that needs 127.0.0.1.

The problem with this solution is that it requires an instance of
cacti inside each guests, which is not convenient for resources and
management.

Adrien

On 12/3/06, Chuck <chuck@sbbsnet.net> wrote:
> 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
>

-- 
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
Received on Mon Dec 4 03:01:16 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 04 Dec 2006 - 03:01:20 GMT by hypermail 2.1.8