Use a system job for census reporting #10633

Closed
opened 2025-12-29 21:33:57 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 9, 2025).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v4.2.1

Feature type

Change to existing functionality

Triage priority

N/A

Proposed functionality

Use a system job (introduced in NetBox v4.2) to schedule periodic census data reporting.

Use case

Currently, census reporting occurs on initialization for each Python worker. This can result in excessive requests when there are many workers running and/or when workers frequently restart. Using a recurring system job will reduce the frequency at which census reports are sent.

Database changes

N/A

External dependencies

N/A

Originally created by @jeremystretch on GitHub (Jan 9, 2025). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v4.2.1 ### Feature type Change to existing functionality ### Triage priority N/A ### Proposed functionality Use a [system job](https://netboxlabs.com/docs/netbox/en/stable/plugins/development/background-jobs/#system-jobs) (introduced in NetBox v4.2) to schedule periodic census data reporting. ### Use case Currently, census reporting occurs on initialization for each Python worker. This can result in excessive requests when there are many workers running and/or when workers frequently restart. Using a recurring system job will reduce the frequency at which census reports are sent. ### Database changes N/A ### External dependencies N/A
adam added the status: acceptedtype: featurecomplexity: medium labels 2025-12-29 21:33:57 +01:00
adam closed this issue 2025-12-29 21:33:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10633