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
- Log in to your M/Monit.
- Create a new alert rule and enter the conditions for triggering the alert.
Under the THEN condition, select Execute Program from
- In the Program settings dialog box, in the Program field, add the curl request copied from Incident Response.
Replace <Webhook URL> in the curl request with the webhook URL copied
To test the connection, click Test.
This creates an alert in Incident Response.
- Close the dialog box and save the alert rule.
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.