Dhavel Patel
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
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:
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.
Sure Travis, I am working with my internal team and get back to you soon on this,
Thanks in advance!
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
Hmm, I opened a new thread over here so we can explore in more detail:
https://support.xmatters.com/hc/en-us/community/posts/360062522871--Caught-an-error-in-step-Integrated-Alert-Azure-Monitor-Inbound-Script-failed-with-message-TypeError-Cannot-read-property-length-of-undefined-