# OpsGenie Alerting Method

**URL:** <https://community.influxdata.com/t/opsgenie-alerting-method/2137>\
**Category:** Kapacitor\
**Tags:** kapacitor\
**Created:** [August 24, 2017, 2:03pm UTC](https://community.influxdata.com/t/opsgenie-alerting-method/2137 "2017-08-24T14:03:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![achoo](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@achoo](https://community.influxdata.com/u/achoo)\
**Post date:** [August 24, 2017, 2:03pm UTC](https://community.influxdata.com/t/opsgenie-alerting-method/2137/1 "2017-08-24T14:03:54Z")

</div>

I’ve reviewed the the [Kapacitor docs](https://docs.influxdata.com/kapacitor/v1.3/nodes/alert_node/#opsgenie) and the [code](https://github.com/influxdata/kapacitor/blob/master/services/opsgenie/service.go) for OpsGenie service but couldn’t figure out a way to add fields to the data that Kapacitor sends to OpsGenie. Is it possible to pass additional data?

---

<div class="post-metadata">

**Author:** ![gmajlis](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@gmajlis](https://community.influxdata.com/u/gmajlis)\
**Post date:** [August 27, 2017, 1:16pm UTC](https://community.influxdata.com/t/opsgenie-alerting-method/2137/2 "2017-08-27T13:16:04Z")

</div>

what are you looking to pass to OpsGenie??? I have integrated OpsGenie with Kapacitor more than once… let me know…

---

<div class="post-metadata">

**Author:** ![achoo](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@achoo](https://community.influxdata.com/u/achoo)\
**Post date:** [August 27, 2017, 1:56pm UTC](https://community.influxdata.com/t/opsgenie-alerting-method/2137/3 "2017-08-27T13:56:46Z")

</div>

It would be nice to be able to pass a URL. I suppose we can pass it in another field and then parse it out in OpsGenie but was wondering if there is a more elegant solution. This will probably get messy if we need to pass more.

---

<div class="post-metadata">

**Author:** ![gmajlis](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@gmajlis](https://community.influxdata.com/u/gmajlis)\
**Post date:** [September 3, 2017, 11:08am UTC](https://community.influxdata.com/t/opsgenie-alerting-method/2137/4 "2017-09-03T11:08:28Z")

</div>

Hey Achoo  
Sorry for my late response… if you have already integrated Kapacitor with OpsGenie  
on the tick file you can add something like thie

|alert()  
.id(‘whatever id generation you want to be’)  
.message(‘EVERY MESSAGE TO ADD TO THE ALERT + THE LINK’)

also Kapacitor supports variables…so you can fetch them and build the link if it isnt static

---

<div class="post-metadata">

**Author:** ![achoo](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@achoo](https://community.influxdata.com/u/achoo)\
**Post date:** [September 5, 2017, 12:53pm UTC](https://community.influxdata.com/t/opsgenie-alerting-method/2137/5 "2017-09-05T12:53:23Z")

</div>

Hey @gmajlis, your solution is what i figured. Thanks for confirming.
