Automating Infoblox

In: Automation

At the current rate of new customer installation, management of DHCP pools has become tiresome. The ultimate goal will be for Zabbix to perform a LLD on Infoblox getting all the available DHCP pools and creating items to monitor the usage. Then we could graph them in Grafana and alert as pools get near 90% triggering a salt minion to provision a new network. Unfortunately, we are not quite there yet.

Here is a quick class for seeing the high precentage DHCP pools. In the future I'll add more functionality, but for now this gave me what I needed. The important piece here is seen below.

_return_fields=name,dhcp_utilization,network

For some reason, I had a tough time finding "dhcp_utilization" and found that I needed to add it as an additional 'return_field'.

GitHub - MajesticFalcon/infoblox_tools
Contribute to MajesticFalcon/infoblox_tools development by creating an account on GitHub.
Comments
More from Schy Networks
Great! You’ve successfully signed up.
Welcome back! You've successfully signed in.
You've successfully subscribed to Schy Networks.
Your link has expired.
Success! Check your email for magic link to sign-in.
Success! Your billing info has been updated.
Your billing was not updated.