From b1d74b1fedecf529a90d27b16e7a167c9e504273 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 10 Jan 2024 15:19:46 -0500 Subject: [PATCH] Cleanup & remove Docker reference (out of scope for docs) --- docs/integrations/webhooks.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/integrations/webhooks.md b/docs/integrations/webhooks.md index f370372eb..20e9bc8c0 100644 --- a/docs/integrations/webhooks.md +++ b/docs/integrations/webhooks.md @@ -86,8 +86,6 @@ $ python netbox/manage.py webhook_receiver Listening on port http://localhost:9000. Stop with CONTROL-C. ``` -If you have deployed NetBox via Docker, you should run the webhook receiver on the `netbox-worker` container. - You can test the receiver itself by sending any HTTP request to it. For example: ```no-highlight @@ -108,8 +106,6 @@ Content-Type: application/x-www-form-urlencoded ------------ ``` -Note that `webhook_receiver` does not actually _do_ anything with the information received: It merely prints the request headers and body for inspection. +Note that `webhook_receiver` does not actually _do_ anything with the information received: It merely prints the request headers and body for inspection. If you don't see any output, check that the `rqworker` process is running and that webhook events are being placed into the queue. -Now, when the NetBox webhook is triggered and processed, you should see its headers and content appear in the terminal where the webhook receiver is listening. If you don't, check that the `rqworker` process is running and that webhook events are being placed into the queue. -Webhook results can be found in the NetBox admin UI under the Background Tasks section. Webhook results can be found in the NetBox admin UI under the Background Tasks section. -You can see any finished or failed runs, as well as the error stack if the webhook failed. +Webhook results can be found in the NetBox admin UI under the Background Tasks section. You can see any finished or failed runs, as well as the error log for failed webhooks.