Configure the webhook in Monit

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

Before you begin

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 your M/Monit.
  2. Navigate to Admin > Alerts.
    Alerts in Monit.
  3. Create a new alert rule and enter the conditions for triggering the alert.
  4. Under the THEN condition, select Execute Program from the list.
    Select Execute Program.
  5. In the Program settings dialog box, in the Program field, add the curl request copied from Incident Response.
  6. Replace <Webhook URL> in the curl request with the webhook URL copied fromIncident Response.
    Add Curl request.
  7. Optional: To test the connection, click Test.
    This creates an alert in Incident Response.
  8. Close the dialog box and save the alert rule.

Results

When the alert conditions are met, alerts will be created in Lightstep Incident Response.

What to do next

Closing a Monit alert

Monit doesn't provide a closing payload for an alert. To close an alert from Monit, follow the steps given in Close an alert.