[Hawkular-dev] IFTTT alert notifications

Lucas Ponce lponce at redhat.com
Mon Jul 20 07:01:49 EDT 2015



----- Original Message -----
> From: "Jiri Kremser" <jkremser at redhat.com>
> To: "Discussions around Hawkular development" <hawkular-dev at lists.jboss.org>
> Sent: Monday, July 20, 2015 12:18:08 PM
> Subject: [Hawkular-dev] IFTTT alert notifications
> 
> Hello,
>   if you don't know the ifttt, it's simple site where you can define a
>   trigger condition and then some action if the condition is met. It's a
>   closed source software (no need to pay though), but the number of possible
>   actions is enormous. I'd say it's industrial standard for this kind of
>   problems. They provide a way to trigger the action manually by sending
>   http POST to their api.
> 
> It's described here:
> 
> https://ifttt.com/maker
> 
> 
> The post request looks like this:
> 
> `curl -X POST -H "Content-Type: application/json" -d
> '{"value1":"1","value2":"2","value3":"foo"}'
> https://maker.ifttt.com/trigger/sdf/with/key/aabbccddeeffgghh`
> 
> where sdf is the name of the event (must be defined via their website),
> aabbcc.. is the secret token for the user and valueN:n in the json is the
> arbitrary data you can then use inside the actions. For instance in the
> subject of the email or whatever the action allows.
> 
> So, if we add a new alert notification that can do such a post request we can
> get for free all these actions:
> 
> https://ifttt.com/recipes/do
> 
> Again, the if-condition-then-action rule must be defined via their website
> (if condition is called 'maker' in this case), the actions use the oauth so
> it asks for permission if needed. For instance I use it for pushbullet
> notifications so It asked pushbulet "auth api"
> 
> wdyt?
> 

It could be interesting to take a look to take ideas.

Perhaps the most logical step is to put in the long term roadmap to add an action plugin to have some kind of integration in the future.



> jk
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
> 


More information about the hawkular-dev mailing list