Giter Site home page Giter Site logo

xm-labs-thousandeyes's Introduction

ThousandEyes



An updated version of this integration is available, supporting the latest version of ThousandEyes and based on xMatters Flow Designer so you can easily connect other tools to your toolchain. Install it right from the Workflow Template directory within your xMatters instance. Learn more.


Pre-Requisites

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

Files

How it works

Alerts in ThousandEyes are set up to fire a webhook when they fire. The webhook targets the xMatters Inbound Integration script, which transforms the payload into the correct format and creates the event. The recipients defined in the form layout are targeted for notification. Alternatively subscriptions can be set up to notify the desired parties based on values in the alert.

Installation

This section outlines the steps needed to get the integration installed.

xMatters set up

  1. Load in the ThousandEyes.zip workflow by clicking Import Plan from the Workflows section
  2. On the ThousandEyes plan, click Edit > Integration Builder and expand the Inbound Integrations.
  3. Click the Inbound from ThousandEyes link and scroll down to copy the Url. Save for later.
  4. Click on the Forms tab and click Edit > Layout next to the Send Alert form.
  5. Enter the default recipients to target when this alert fires. Alternatively subscriptions can be set up based on matching the incoming properties.

ThousandEyes set up

  1. Login to ThousandEyes and navigate to the Alerts section. Expand the appropriate alert and click the Notifications tab.
  2. Click the Edit webhooks in the Webhooks section and click Add New Webhook.
  3. Name it xMatters and paste in the url from above. If basic authentication is required, see the note below.

Basic Authentication

To set up Basic Authentication follow these steps:

  1. In xMatters, in the Inbound from ThousandEyes script, change the authentication method to Basic Authentication.
  2. Create a user in xMatters and note the password. Grant the Standard User, Web Service User and Full Access User roles to this user.
  3. On the Workflows section next to the ThousandEyes workflow, click edit > Access Permissions. Add the user just created to the list.
  4. Click the Forms entry in the Edit drop down and in the Send Alert form, click Web Service Only > Sender Permissions and add the user again.

Next, in ThousandEyes:

  1. Click the Enable Basic HTTP Authentication link on the Edit webhooks dialog in ThousandEyes for the xMatters Webhook.
  2. Enter the username and password for the xMatters user created above.

Testing

Take down a website or add a test for a bogus website on an Alert and add the xMatters Webhook Notification. This will trigger the webhook which will run the script in Inbound from ThousandEyes and fire an event to notify the recipients defined on the Send Alert form.

Troubleshooting

Test the webhook and ensure a new entry is added to the activity stream for Inbound from ThousandEyes. If not, verify the webhook url is correct. If testing the webhook does add an entry to the activity stream, review the activity stream for any errors or other messages.

xm-labs-thousandeyes's People

Contributors

castlexm avatar xmsteele avatar xmtinkerer avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

castlexm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.