mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00
#15621: Add feature documentation for user notifications
This commit is contained in:
parent
2168a73a2d
commit
5cfa2bb561
@ -1,9 +1,10 @@
|
|||||||
# Event Rules
|
# Event Rules
|
||||||
|
|
||||||
NetBox includes the ability to execute certain functions in response to internal object changes. These include:
|
NetBox includes the ability to automatically perform certain functions in response to internal events. These include:
|
||||||
|
|
||||||
* [Scripts](../customization/custom-scripts.md) execution
|
* Executing a [custom script](../customization/custom-scripts.md)
|
||||||
* [Webhooks](../integrations/webhooks.md) execution
|
* Sending a [webhook](../integrations/webhooks.md)
|
||||||
|
* Generating [user notifications](../features/notifications.md)
|
||||||
|
|
||||||
For example, suppose you want to automatically configure a monitoring system to start monitoring a device when its operational status is changed to active, and remove it from monitoring for any other status. You can create a webhook in NetBox for the device model and craft its content and destination URL to effect the desired change on the receiving system. You can then associate an event rule with this webhook and the webhook will be sent automatically by NetBox whenever the configured constraints are met.
|
For example, suppose you want to automatically configure a monitoring system to start monitoring a device when its operational status is changed to active, and remove it from monitoring for any other status. You can create a webhook in NetBox for the device model and craft its content and destination URL to effect the desired change on the receiving system. You can then associate an event rule with this webhook and the webhook will be sent automatically by NetBox whenever the configured constraints are met.
|
||||||
|
|
||||||
|
10
docs/features/notifications.md
Normal file
10
docs/features/notifications.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Notifications
|
||||||
|
|
||||||
|
!!! info "This feature was introduced in NetBox v4.1."
|
||||||
|
|
||||||
|
NetBox includes a system for generating user notifications, which can be marked as read or deleted by individual users. There are two built-in mechanisms for generating a notification:
|
||||||
|
|
||||||
|
* A user can subscribe to an object. When that object is modified, a notification is created to inform the user of the change.
|
||||||
|
* An [event rule](./event-rules.md) can be defined to automatically generate a notification for one or more users in response to specific system events.
|
||||||
|
|
||||||
|
Additionally, NetBox plugins can generate notifications for their own purposes.
|
@ -86,6 +86,7 @@ nav:
|
|||||||
- Change Logging: 'features/change-logging.md'
|
- Change Logging: 'features/change-logging.md'
|
||||||
- Journaling: 'features/journaling.md'
|
- Journaling: 'features/journaling.md'
|
||||||
- Event Rules: 'features/event-rules.md'
|
- Event Rules: 'features/event-rules.md'
|
||||||
|
- Notifications: 'features/notifications.md'
|
||||||
- Background Jobs: 'features/background-jobs.md'
|
- Background Jobs: 'features/background-jobs.md'
|
||||||
- Auth & Permissions: 'features/authentication-permissions.md'
|
- Auth & Permissions: 'features/authentication-permissions.md'
|
||||||
- API & Integration: 'features/api-integration.md'
|
- API & Integration: 'features/api-integration.md'
|
||||||
|
Loading…
Reference in New Issue
Block a user