Configure a webhook in Google Monitor

Configure webhook endpoints so that Google Monitor can use the endpoint to communicate with Incident Response.

Before you begin

Ensure you have created an account in Google Monitor.

Role required: Responder, Manager, or Administrator

About this task

Note: While this integration with a third-party product is supported, the documentation here is based upon information provided by that third-party. More current information about the operation of that third-party’s system may be available from them directly.

Procedure

  1. Log in to the Google Cloud Platform console.
    The Google Cloud Platform homepage.
  2. On the navigation pane, under OPERATIONS, click Monitoring > Alerting.
    Select the alerting option.
  3. Click EDIT NOTIFICATION CHANNELS.
    Select the edit notification channels option.
    The Notification channels page appears.
    The Notification channels page.
  4. Under the Webhooks section, click ADD NEW.
    The webhooks section.
  5. On the Add Static Webhook form, perform the following actions:
    Field Action to be taken
    Endpoint URL Enter the webhook URL that you have already created.

    For more information on how to generate a webhook URL, see Create a webhook endpoint for Google Monitor.

    Display name Enter a display name for the webhook endpoint.
  6. To verify if the connection with Incident Response, click TEST CONNECTION.
    You will receive a test alert in Incident Response.
  7. Click SAVE.

What to do next

Add the webhook to your alerts:
  1. Navigate to Monitoring > Alerting > Policies.
  2. Create a policy, or edit an existing one.
  3. Under the Who should be notified? section, in the Notification Channels list, select the static webhook you created in the Notifications channel page.

    Select the notification channels.