Hi
" Something that might throw an event or email when certain things
happen in the system. "
I totally agree with this view. I use ganglia to monitor the system, and
am trying to develop an alert system (written in java GT4 WS-Core) based
on the result. So in my case, I mostly have to read the last events of
the system.
>From the discussion of this thread, I can see two options: 
        - have an open socket on gmetad:8651, and parse this data, which
represents the last metrics at the point of time the socket was polled.
In this case, is it possible to keep the socket open and issue a command
which only provides metrics passed on a filter (e.g. a given host, or a
given metric) ?
        - parse the .rrd file. This looks a bit strange to me. I would
have to watch this file for updates, and read from it when new data is
written. I think that for my alert system, this would be a poor
technical choice, as this involves inefficient file I/O. But I
understand its interest to check the history of the monitoring. 

By the way, is there a description of how the php web interface reads
its data, or should I dive directly in the code? 

Cheers
Igor


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brad
Nicholes
Sent: jueves, 06 de marzo de 2008 22:53
To: Jesse Becker; Carlo Marcelo Arenas Belon
Cc: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Ganglia-general] Ganglia and web services, suggestions
request

>>> On 3/6/2008 at 2:51 PM, in message <[EMAIL PROTECTED]>,
Carlo Marcelo
Arenas Belon <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 06, 2008 at 02:35:35PM -0500, Jesse Becker wrote:
>>
>> On Wed, Mar 5, 2008 at 10:31 AM,  <[EMAIL PROTECTED]> wrote:
>> 
>> >  Another solution is to rewrite the whole gmetad to java and only
use
>> >  jRobin, but this would be a huge change and interference to the
source
>> >  code.
>> 
>> You're certainly welcome to write whatever you'd like.  That said, I
>> don't know of any plans to move away from the two current languages:
>> PHP on the web interface, and C for everything else.  For what
Ganglia
>> needs to do, both are quite portable, and work well.
> 
> actually, there is in the wishlist a plan to rewrite gmetad in python
which
> is half done last I heard.
> 
> using a different "time series database" implementation than rrdtool
is not
> in the plans though, but I can see the use of a modular approach that
will
> let you use something else as an option.
> 


A pluggable module interface for the new python gmetad is something that
we have been kicking around this week.  I could see this type of
interface being used in a couple of different ways.  One way as you
mentioned, to allow for a different data store to be plugged into
gmetad.  Another way would be to plug in analysis modules.  Something
that might throw an event or email when certain things happen in the
system.  By allowing this type of module to be plugged into gmetad,
Ganglia still remains a metric trending system but it allows for third
parties to extend it into an alerting system if they want as well.

Brad


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

------------------------------------------------------------------
This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail
in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos Origin group
liability cannot be triggered for the message content. Although the
sender endeavours to maintain a computer virus-free network, the sender does
not warrant that this transmission is virus-free and will not be liable for
any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informacion
confidencial destinada solamente a la(s) persona(s) mencionadas
anteriormente. Pueden estar protegidos por secreto profesional Si usted
recibe este correo electronico por error, gracias de informar inmediatamente
al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos
Origin no se hace responsable por su contenido. Su contenido no constituye
ningun compromiso para el grupo Atos Origin, salvo ratificacion escrita por
ambas partes.
Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
no puede garantizar nada al respecto y no sera responsable de cualesquiera
danos que puedan resultar de una transmision de virus
------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to