Replies: 2 comments 7 replies
-
See https://docs.netbox.dev/en/stable/integrations/webhooks/#available-context, there it shows the snapshot data included in webhooks. I'd assume something similar is also included when using scripts instead of webhooks. |
Beta Was this translation helpful? Give feedback.
5 replies
-
|
You have two options:
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I’m interested in building an event trigger that will run when a device is updated, to push the new data to my Prometheus monitoring system. But I only want to trigger when certain fields are modified on a device, such as name, primary IP, or status. For example I don’t want it to run if only the rack position was changed. Is this possible? I could certainly build the logic into the script, but I need a way to access the previous device properties to compare with current.
Beta Was this translation helpful? Give feedback.
All reactions