mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-18 05:28:16 -06:00
Cleanup & remove Docker reference (out of scope for docs)
This commit is contained in:
parent
336a58e9bc
commit
b1d74b1fed
@ -86,8 +86,6 @@ $ python netbox/manage.py webhook_receiver
|
|||||||
Listening on port http://localhost:9000. Stop with CONTROL-C.
|
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:
|
You can test the receiver itself by sending any HTTP request to it. For example:
|
||||||
|
|
||||||
```no-highlight
|
```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. You can see any finished or failed runs, as well as the error log for failed webhooks.
|
||||||
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.
|
|
||||||
|
Loading…
Reference in New Issue
Block a user