![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Please don't use the generic webhook crap. There's a reason it's marked as "(Old)" now.
I get 400 bad request when using either of those URLs. Our OpsGenie integration (which was contributed a couple of weeks ago) currently sends :
{"recipients":"","api_key":"2f79c4d5-7c26-4429-8e5b-6e2b936800cc"} {"apiKey":"2f79c4d5-7c26-4429-8e5b-6e2b936800cc","message":"RECOVER: [omega.memetic.org] [processor] [Average] Processor usage is above 80%","description":"processor_usage = 40\n\nConditions: \n","alias":"46864","entity":"omega.memetic.org","source":"omega.memetic.org","details":{"Alert URL":"http://dev.observium.org:80/device/device=12/tab=alert/alert_entry=46864/","Duration":"1m 26s (2016-12-05 13:20:00)","Hardware":"Generic x86 [64bit]","OS":"Linux 3.13.0-96-generic Ubuntu 14.04","Location":"Hetzner, Nuremberg, Germany"}}
Trying to parse an arbitrary text field is a really bad idea when we can provide that data in separate fields.
adam. On 05/12/2016 12:18:29, Çağla Arıkan cagla@opsgenie.com wrote: When you change the URL, the integration will work properly. To make the integration work properly, we should get the same payload that you send for generic webhook integration this can be found below:
{ "originator": "observium sender", "body": "ALERT: [localhost] [device] device is down\ndevice_status = 0" } We will fix the documents as you described.
Thanks, Çağla Arıkan
On 5 Dec 2016, at 15:12, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
The description for the "add integration" part of OpsGenie also references to deprecated generic webhook from Observium. Please don't use that.
Please rewrite your integration to use the specific OpsGenie integration we provide.
adam. On 05/12/2016 12:03:49, Çağla Arıkan <cagla@opsgenie.com [mailto:cagla@opsgenie.com]> wrote: Hi there,
I am a software engineer at OpsGenie. We have developed an integration specific to Observium. Thus, we would be very pleased if you can fix your integration so that it uses /v1/json/observium endpoint rather than /v1/json/alert endpoint. Observium Integration works similar to generic Webhook integration but we customised it for Observium. You can check our Observium Integration document for more information which can be found at https://www.opsgenie.com/docs/integrations/observium-integration [https://www.opsgenie.com/docs/integrations/observium-integration].
Best Regards, Çağla Arıkan _______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium