Add a way of determining prefix percent utilization to the API #10778
Labels
status: duplicate
This issue has already been raised
type: feature
Introduction of new functionality to the application
NetBox version
v3.3.6
Feature type
New functionality
Proposed functionality
Add way of determining prefix percent utilization to the API. The percent utilization is shown through the UI but it not accessible through the API. Currently there is no easy way of determining the percent utilization because we are lacking:
My proposal to accomplish this ask:
It may also be beneficial to have an endpoint for listing IPs associated with a prefix for other use cases (something like https://demo.netbox.dev/api/ipam/prefixes/75/ip-addresses), so along with being able to list all available IPs we could at least calculate the prefix capacity on our own.
Use case
We do alerting on prefixes that have a utilization over a certain percent so that we know when we are getting low on IP addresses. We use percent utilization because the number of available IPs we want to alert on is different depending on the size of the prefix and the rate at which IPs are assigned is generally proportional to the size of the prefix.
Company: Datto, a Kaseya Company
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: