xMatters integration with Azure Alerts

Not Yet Reviewed

Followed the official documentation for xMatters integration with Microsoft Azure Monitoring. Able to see the test data notification on xMatters activity portal but not receiving any notification on mobile device or Emails. (Potentially an integration issue!)

Logs::  Script failed with message: TypeError: Cannot read property 'context' of undefined

0

Comments

4 comments
Date Votes

Please sign in to leave a comment.

  • Huh, that's not good. Just to make sure we're talking about the same thing, this is the integration you used, right? 

    https://github.com/xmatters/xm-labs-azure-monitor

    Assuming so, the HTTP Trigger (On the Canvas > Palette > Triggers > Azure Monitor Inbound) has these couple of lines, which I'm guessing is the problem:

    var context = data.alertContext;
    var essentials = data.essentials;

    var conditionArray = context.condition.allOf;

    So I'm guessing the "condition" is empty. Can you post a picture of your Alert Rule in Azure? I'm not sure how that could happen. But maybe we just need to catch this case. 

    0
  • Sure Travis, I am working with my internal team and get back to you soon on this,

    Thanks in advance!

    0
  • I'm using the same integration and I'm getting:

    Caught an error in step "Integrated Alert - Azure Monitor Inbound" Script failed with message: TypeError: Cannot read property 'length' of undefined

     

     

    0

Didn't find what you were looking for?

New post