Alert that sends message to the webhook.
docker build -t whoopsmonitor-alert-webhook .docker run --rm --env-file .env whoopsmonitor-alert-webhookWM_WEBHOOK_URL- URL of the webhookWM_WEBHOOK_METHOD- method. GET or POST. Optional. GET is default.
Details of the check in Whoops Monitor configuration tab or for the .env file.
WM_WEBHOOK_URL=http://...
WM_WEBHOOK_METHOD=POSTWebhook sends this data (uppercased):
WM_CHECK_NAME- name of the checkWM_CHECK_OUTPUT- check's output (stdout or stderr)WM_CHECK_EXIT_CODE- exit status (0 - ok, 1 - warning, 2 - critical)WM_WEBHOOK_METHOD- request method, GET or POST.
Please read further details in the alert docs.