Re: [Vserver] snmp & vserver

From: Chuck <chuck_at_sbbsnet.net>
Date: Mon 04 Dec 2006 - 03:26:39 GMT
Message-Id: <200612032226.39790.chuck@sbbsnet.net>

On Sunday 03 December 2006 21:59, Adrien Laurent wrote:

i have yet to run into a program that cannot be changed from 127.0.0.1 to
another ip, plus i don't know how to do it, but i read that the newer vserver
code and kernel allow you to map localhost within a guest, or something
similar. someone else will have to answer that one who knows..

we have one instance of cacti running (in its own guest) that monitors our
entire network including all our guest vservers and extended network
components that are in remote places around the nation. i believe all that is
needed is snmp within each guest or location to answer cacti's requests...
snmp uses very few resources... i will have to speak with our tech tomorrow
about this.

> 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
>

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