OI WEBHOOK integration with UIM Swagger /uimapi/alarms/create failed with HTTP 500
search cancel

OI WEBHOOK integration with UIM Swagger /uimapi/alarms/create failed with HTTP 500

book

Article ID: 378683

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

Unable to save Channel with proper uri.

OI Payload

{"orgId":"EXAMPLE","url":"<url>":"","headers":{"Accept":"application/json","Accept-Encoding":"application/json"},"payload":{"severity":"Major","message":"${message}","hostname":"${host}","source":"${product}","suppressionKey":"${metric_name}","visible":"$true","custom1":"${alarm_name}","custom2":"${status}","custom3":"${management_module}","custom4":"${channels}"},"authDetails":{"authType":"BASIC_AUTH","username":"<username>","password":"xxxxxxx","tokenValue":null,"certBase64":null,"certPrivateKeyBase64":null}}

Response: (partial)

{
  "msg": "2751124: Error in webook server config validation",
  "detail": "[HTTP/1.1 500  [Referrer-Policy: strict-origin-when-cross-origin, X-Frame-Options: SAMEORIGIN, Cache-Control: no-cache, no-store, X-Content-Type-Options: nosniff, Content-Security-Policy: script-src 'self' http: *.example.com

Resolution

Changes to resolve the issue
1. reset password

2. changed the user privilege on UIM

3. exclude the non-standard port, in this case 8880, to 80 

Then, reverted the port 8880 since it is used by our standard UIM 3rd party alarm integrations. its possible (1) and (2) resolved the initial problem.

Alarms are now processing, :UPDATE, NEW, CLOSED on UIM

Additional Information

It  seemed that the UIM server is rejecting the specified payload and returning an internal server error with error code 500.