Sysdig Monitor Alerts

The built-in Sysdig Monitor Alerts trigger initiates a flow when it receives a signal from a Sysdig Monitor alert.

Add the Sysdig Monitor Alerts trigger to the canvas

  1. Go to the Triggers tab in the palette, expand the App Triggers section, and drag the trigger onto the canvas.
  2. Double-click the trigger (or click the pencil icon).
  3. Set the authenticating user, and then copy the URL — you'll use this to set up the webhook in Sysdig. Alternatively, you can create an integration user to use as the authenticating user.

  4. Click the Flood Control tab to edit the trigger's default flood control settings. For more information about these settings, see Trigger Flood Control.
  5. Click Done.
  6. On the flow canvas, connect the steps you want to run when xMatters receives a request to that URL.

You're now ready to configure Sysdig to target the trigger.

Configure Sysdig to send requests to the trigger URL

To have Sysdig send alerts to the flow trigger, you need to configure a webhook and set it to use the trigger URL.

  1. In Sysdig, select the button containing your initials from the left-hand navigation menu, then click Settings.

  2. When the Settings menu opens, select Notification Channels.

  3. Expand the Add Notification Channel drop-down and select Webhook.

  4. Fill in the following fields:
    • Url: Paste the trigger URL you copied from the Sysdig trigger in Flow Designer. Add the target names of any recipients you want xMatters to notify when the alert fires.
      • For example, if you want to notify Emma Pearson, Mary McBride, and the on-call members in the Monitor Team responsible for the service, you'd add ?recipients=epearson,mmcbride,monitor%20team to the URL.
      • You must URL-encode any special characters or spaces in the target names.
    • Channel Name: A unique channel name. For example, xMatters.

    Leave the other fields in their default positions.

  5. Click Save.
  6. Use the Sysdig documentation to create a new Sysdig alert. When setting the Notification Channel for the alert, use the channel you just created.
  7. Once the alert is created, ensure it is enabled in Sysdig so it can send alerts to xMatters.

You're ready to use the webhook to trigger automated flows, including steps such as sending alerts and initiating incidents, though we always recommend testing before putting things into use.

 

Outputs