Overview
NetBox is the leading solution for modeling and documenting modern networks. By combining the traditional disciplines of IP address management (IPAM) and datacenter infrastructure management (DCIM) with powerful APIs and extensions, NetBox provides the ideal “source of truth” to power network automation. Read on to discover why thousands of organizations worldwide put NetBox at the heart of their infrastructure.Connecting NetBox to Keep
To connect NetBox to Keep, you need to create a webhook in NetBox.- Go to NetBox dashboard, click on
WebhooksunderOperationssection in the sidebar.
- Add a new webhook by clicking on
Addbutton.
-
Enter https://api.keephq.dev/alerts/event/netbox as the URL and select the request method as
POST. - Follow the below steps to create a new API key in Keep.
-
Go to Keep dashboard and click on the profile icon in the botton left corner and click
Settings.
- Select
Users and Accesstab and then selectAPI Keystab and create a new API key.
- Give name and select the role as
webhookand click onCreate API Key.
- In the
Additional headersfield enterX-API-KEYas the key and the API key generated in step 7 as the value. It should look like below. Refer the screenshot from step 3.
- Disable the
SSL verification(Optional) or enable it based on your requirement.
-
Click on
Saveto save the webhook. -
Go to
Event RulesunderOperationssection in the sidebar and click onAddbutton to create a new event rule.
- Fill the required fields based on your requirement. Select the
Object typesandEvent typesfor which you want to receive the events.
- In the
Action typeselectWebhookand select the webhook created in step 3 and click onSave.