chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

Ability to Select TCP and HTTP to send alerts using Chronograf

Open ryheena opened this issue 9 years ago • 5 comments

I have an urgent need to be able to configure alerts based on a range of criteria and have those alerts aggregate data and send it over a range of TCP ports and/or the HTTP API. Please add these options to the dropdown menu in addition to the third-party collection agents you already support.

ryheena avatar Dec 27 '16 10:12 ryheena

See • https://docs.influxdata.com/kapacitor/v1.1/nodes/alert_node/#tcp • https://docs.influxdata.com/kapacitor/v1.1/nodes/alert_node/#httpout

nhaugo avatar Jan 03 '17 22:01 nhaugo

Hi, I understand this is possible using the alert node in kapacitor but the ask is to add this to the dropdown menu of options in Chronograf.  This is oddly missing from the set of alert options in the latest beta release of Chronograf. -Ryan

On Tuesday, January 3, 2017 2:21 PM, Nathan Haugo <[email protected]> wrote:

See • https://docs.influxdata.com/kapacitor/v1.1/nodes/alert_node/#tcp • https://docs.influxdata.com/kapacitor/v1.1/nodes/alert_node/#httpout— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ryheena avatar Jan 04 '17 08:01 ryheena

Hi @ryheena , thanks for writing in. Currently, we do have httpOut nodes on each alert (although they are not configurable at the moment).

The location of the httpOut endpoint is a bit ugly, however, until we have httpOut and tcp options for our alerts, perhaps it will help you.

The httpOut is at http://ryhennas-kapacitor-server:9092/kapacitor/v1/tasks/TASK_ID/output

To get the value of TASK_ID run the kapacitor CLI program to get the tasks: kapacitor list tasks The ID will be in the ID column and be prefixed with chronograf-v1-

Let me know if this helps!

goller avatar Jan 04 '17 22:01 goller

Hi @ryheena, we added support for HTTP and TCP (as well as others) into our 1.2.0-beta2 release yesterday. For example to use HTTP, select it as the Send Alert to and add the url!

Here is a gif of me testing it out:

http

Try it out!

goller avatar Feb 11 '17 15:02 goller

Alright!  Thank you very much.  This greatly improves the usability of Chronograf. -Ryan

On Saturday, February 11, 2017 7:30 AM, Chris Goller <[email protected]> wrote:

Hi @ryheena, we added support for HTTP and TCP (as well as others) into our 1.2.0-beta2 release yesterday. For example to use HTTP, select it as the Send Alert to and add the url!Here is a gif of me testing it out:Try it out!— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

ryheena avatar Feb 11 '17 20:02 ryheena