Skip to content

jscanzoni/xMatters-troubleshooting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

xMatters Troubleshooting Tips

I'm going to keep building this out as I work with xMatters more

Pre-Requisites

  • xMatters account - If you don't have one, get one!

Testing

As always, make sure to develop and test on a non-production environment. Running this code unmodified in production could have unintended consequences.

Troubleshooting

Integration Builder

When working in the Integration Builder, using console.log(variable); is helpful when you want to see if something is being set. To get the output of a JSON object, such as the callback being passed into your integration, you'll want to use the following to output and format it into a readable JSON format.

console.log(JSON.stringify(callback, null, 2));

Python

Add this code anywhere you need to see the raw response from the xMatters API -- great for troubleshooting connection or data formatting issues.

print '\n\n\n'+str(response.json())+'\n\n\n'
print str(data_string)+'\n\n\n'

About

Going to build this out as I work with xMatters more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published