Event Rules w/ custom scripts not working #10316

Closed
opened 2025-12-29 21:29:51 +01:00 by adam · 3 comments
Owner

Originally created by @Mailstorm-ctrl on GitHub (Oct 2, 2024).

Deployment Type

Self-hosted

NetBox Version

v4.1.0

Python Version

3.10

Steps to Reproduce

  1. Create a custom script that does something...anything
  2. Create an event rule that calls the script (In my case, I chose DCIM > Device and Object changed and delete

Expected Behavior

The script to run

Observed Behavior

The script doesn't run

Originally created by @Mailstorm-ctrl on GitHub (Oct 2, 2024). ### Deployment Type Self-hosted ### NetBox Version v4.1.0 ### Python Version 3.10 ### Steps to Reproduce 1. Create a custom script that does something...anything 2. Create an event rule that calls the script (In my case, I chose DCIM > Device and Object changed and delete ### Expected Behavior The script to run ### Observed Behavior The script doesn't run
adam added the type: bugtopic: event rules labels 2025-12-29 21:29:51 +01:00
adam closed this issue 2025-12-29 21:29:51 +01:00
Author
Owner

@Mailstorm-ctrl commented on GitHub (Oct 2, 2024):

I'd like to add that when I change the event rule to use a webhook, it will successfully complete. But there's no evidence the script is running. There's no job listed for the script and no background task for it.

@Mailstorm-ctrl commented on GitHub (Oct 2, 2024): I'd like to add that when I change the event rule to use a webhook, it will successfully complete. But there's no evidence the script is running. There's no job listed for the script and no background task for it.
Author
Owner

@Mailstorm-ctrl commented on GitHub (Oct 2, 2024):

I see this was fixed in 4.1.1. I will update to that version and close if resolved

@Mailstorm-ctrl commented on GitHub (Oct 2, 2024): I see this was fixed in 4.1.1. I will update to that version and close if resolved
Author
Owner

@Mailstorm-ctrl commented on GitHub (Oct 3, 2024):

Yup it got fixed. My b

@Mailstorm-ctrl commented on GitHub (Oct 3, 2024): Yup it got fixed. My b
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10316