Pcornel
Automation · NetBox

Webhooks

Cheat sheet · https://pcornel.dk/topic.php?topic=5886

Back to the Topic

Answer

NetBox webhooks send an HTTP request when objects are created, updated or deleted, triggering automation such as pushing a config or updating DNS when data changes.

Remember

  • HTTP call on create/update/delete.
  • Event rules filter.
  • Secure the receiver.

First checks

  • Webhook definitions + event rules — triggers
  • Receiver endpoint verifying X-Hook-Signature — authenticity
  • Webhook delivery logs/RQ worker — reliability

Verify in this order

NetBox change → event rule → webhook → automation

Where it usually breaks

Client payload/auth → HTTP transport → endpoint validation/policy → request accepted → queued/job execution → target mutation → effective state → consumer workload.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5886

Confirmation

Confirm action

Continue?