Re: [Vserver] Virtual server monitor

2006-09-28 Thread Guillaume Pratte




Tom Laermans a crit:

  On Tue, 2006-09-26 at 22:38 -0400, Guillaume Pratte wrote:
  
  
Hello,

I would like to have the opinion of the mailing list about a tool I just 
released called 'Virtual server monitor' or 'vsmon' for short : 

http://vsmon.revolutionlinux.com/

  
  
Looks great! Once you have some .deb's I'll have to try it out ;)
  

Please help yourself : 

http://vsmon.revolutionlinux.com/Virtual_server_monitor:Installation#Debian_testing.2Funstable

The packages are far from beeing perfect, but they work :-)

-- 
Guillaume Pratte
Recherche et dveloppement
Rvolution Linux

Toutes les opinions et les prises de position exprimes dans ce courriel sont celles de son auteur et ne rpresentent pas ncessairement celles de Rvolution Linux.

Any views and opinions expressed in this email are solely those of the author and do not necessarily represent those of Revolution Linux.



___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Virtual server monitor

2006-09-27 Thread Tom Laermans
On Tue, 2006-09-26 at 22:38 -0400, Guillaume Pratte wrote:
 Hello,
 
 I would like to have the opinion of the mailing list about a tool I just 
 released called 'Virtual server monitor' or 'vsmon' for short : 
 
 http://vsmon.revolutionlinux.com/

Looks great! Once you have some .deb's I'll have to try it out ;)

I was planning to make something similar like this, but with a different
sort of backend, being an extension into snmpd. I've made different
scripts already to be able to monitor daemon stuff through cacti, and
was planning on making on one side some nice graphs about load and
memory and such, and otherwise an overview page with all the info on it.

Still planning to do that when time permits though ;/ -- the hard part
is looking up where to find all that info without having to parse
vserver-stat etc :)

Thanks,
Tom

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Virtual server monitor

2006-09-27 Thread Guillaume Pratte

Tom Laermans a écrit :


I was planning to make something similar like this, but with a different
sort of backend, being an extension into snmpd. I've made different
scripts already to be able to monitor daemon stuff through cacti, and
was planning on making on one side some nice graphs about load and
memory and such, and otherwise an overview page with all the info on it.
 


I would suggest you look at collectd :

http://collectd.org/

It collects system information every 10 seconds and writes it into an 
RRD database. It is implement in C and seems to consume almost nothing 
in term of ressources on the host. It can monitor vservers too! And it 
is dead simple to configure.


It comes with a simple Perl CGI script to display the graphs. Have a 
look at these examples :


http://tokkee.org/cgi-bin/collection.cgi
http://tokkee.org/cgi-bin/collection.cgi/vserver-42097
http://zethradon.no-ip.org:36987/cgi-bin/collection.cgi

The first two links point to the server of the author of collectd 
(Sebastien Harl). The second is an example of vserver monitoring. The 
third link is my personnal machine.


I plan to integrate collectd to vsmon eventually.

--
Guillaume Pratte
Recherche et développement
Révolution Linux

Toutes les opinions et les prises de position exprimées dans ce courriel sont 
celles de son auteur et ne répresentent pas nécessairement celles de Révolution 
Linux.

Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Virtual server monitor

2006-09-27 Thread Herbert Poetzl
On Wed, Sep 27, 2006 at 09:01:09AM +0200, Tom Laermans wrote:
 On Tue, 2006-09-26 at 22:38 -0400, Guillaume Pratte wrote:
  Hello,
  
  I would like to have the opinion of the mailing list about a tool I just 
  released called 'Virtual server monitor' or 'vsmon' for short : 
  
  http://vsmon.revolutionlinux.com/
 
 Looks great! Once you have some .deb's I'll have to try it out ;)
 
 I was planning to make something similar like this, but with a
 different sort of backend, being an extension into snmpd. I've made
 different scripts already to be able to monitor daemon stuff through
 cacti, and was planning on making on one side some nice graphs about
 load and memory and such, and otherwise an overview page with all the
 info on it.

 Still planning to do that when time permits though ;/ -- the hard
 part is looking up where to find all that info without having to parse
 vserver-stat etc :)

let me chime in here and add a few thoughts to this:

on recent kernels (means current devel, soon to be stable
branch) we have (almost all) interfaces to provide guest
status and overview directly from the kernel, without
parsing proc interfaces and doing a lot of calculations
(as vserver-stat currently does and often gets wrong)

although I hope that in this process, the vserver-stat
will get an overhaul too, it would be a good idea to have
a look at the direct API and the derived libraries
(contact Hollow, phreak``? and maybe daniel_hozac for
more details)

the interesting part here is that those interfaces
provide fast and unambiguous data about guests like

 - current status and uptime
 - number of processes
 - various accounting data including sockets
 - current limits, max/min and hits
 - uts information
 - load and time virtualizations

and much more ...

also note that we will change the proc interfaces slightly
in the future, as we will switch from ticks (jiffies)
to the more comprehensible ms (milisecond) unit

best,
Herbert

 Thanks,
 Tom
 
 ___
 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


[Vserver] Virtual server monitor

2006-09-26 Thread Guillaume Pratte
Hello,

I would like to have the opinion of the mailing list about a tool I just 
released called 'Virtual server monitor' or 'vsmon' for short : 

http://vsmon.revolutionlinux.com/

It is a web-based interface with the primary feature to list all vservers 
running on all hosts visible by the interface. It also displays some basic 
statistics such as uptime, memory usage, number of process, etc. Basically, 
it is a distributed vserver-stat on steroids :-)

It was developed to answer the question Where the heck is that vserver 
running?, and thus offer a web page where it is possible to use the find 
dialog of the web browser to trace back on which host a particular vserver 
guest is running.

It is developped entirely using Python. The web frontend uses Django [1], one 
of the best Python-based web framework currently available. Communication 
between the backend and the frontend is assured by Pyro [2].

[1] http://www.django-project.com/
[2] http://pyro.sf.net/

I am aware of the existance of OpenVCP, but I chose to write my own 
application, one reason being that I wanted to develop using Python all the 
way and not C and PHP. 

For now, the only easy way to install vsmon is by running Mandriva 2006, but I 
hope to support Debian also in the future. Installing by source is possible, 
but not easy. However, I will provide support to people posting on the vsmon 
mailing list (https://lists.sourceforge.net/lists/listinfo/vsmon-users).

Feedback is appreciated :-)

Thanks,

Guillaume Pratte
Software engineer
Revolution Linux
http://vsmon.revolutionlinux.com/

--
Any views and opinions expressed in this email are solely those of the author 
and do not necessarily represent those of Revolution Linux.
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver