Reply

Find leases outside DHCP ranges

AMaurer
Techie
Posts: 5
584     0

Hi all,

Unfortunately it happens from time to time that people delete DHCP ranges that have still active leases inside. So we end up with a lot of leases inside of the database that are not realted to a DHCP range.

In order to get rid of them I would like to have a little script that will get the leases for me.

I know the lease is there because I can find it with global search, but if I'm trying to retrieve it with a WAPI call (

https://<infoblox>/wapi/v2.1/lease?address=<IP>) nothing is returned. If I create the range the same call is returning the searched lease.

 

Any ideas are welcome

 

Thanks in advance Smiley Happy

Andrea

 

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You