incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Yang <ey...@yahoo-inc.com>
Subject Re: Demux trigger
Date Sat, 17 Apr 2010 02:30:29 GMT
Hi Bill,

This already exist in Chukwa.  Take a look in DataLoaderFactory.java and
SocketDataLoader.java, they are triggered after demux jobs.  Hence, you can
use PostProcessManager as triggers, and configure it through
chukwa-demux-conf.xml, chukwa.post.demux.data.loader.  Hope this helps.

Regards,
Eric

On 4/16/10 4:39 PM, "Bill Graham" <billgraham@gmail.com> wrote:

> Hi,
> 
> I'd like to add a feature to the DemuxManager where you can configure an HTTP
> request to be fired after a Demux run. It would be similar to what's currently
> there for Nagios alerts, only this would be HTTP (the Nagios alert is a raw
> TCP socket call). You'd configure the host, port, (POST|GET) and uri for this
> first pass.
> 
> Some metadata about the job would also go along for the ride. Maybe things
> like status code and job name.
> 
> The use case is to trigger a dependent job to run elsewhere upon completion.
> The same functionality could potentially be ported to some of the other chukwa
> processor jobs if the need arose.
> 
> Thoughts?
> 
> thanks,
> Bill
> 


Mime
View raw message