Reply

Removing all IPAM address objects with last discovery over 10 days ago

cshaad123
Techie
Posts: 9
913     0

I would like to create a script that will remove all stale discovered address (unmanaged, conflicts, etc), meaning that if they are more than 10 days old, they are removed.  It seems like the IPAM->Address object under the API would make the most sense to do this, but this isn't accessible by the WAPI?  When viewing the 2.3.1 schema, the only call under IPAM is Statistics.

 

Any thoughts on how to acheive what I am looking to do?  Thanks.

Re: Removing all IPAM address objects with last discovery over 10 days ago

Adviser
Posts: 140
913     0

Hi,

 

If you use Network Insight, you can retrieve list of discovered IPs using "discovery:status" API call and after that use "network_discovery" to clear discovery data (do not forget to set usage="unmanaged" )

 

BR,

Vadim

Highlighted

Re: Removing all IPAM address objects with last discovery over 10 days ago

Abhilash
Techie
Posts: 3
913     0

Hi,

 

What I have noticed is, regular IPAM users cannot recliam the IPAM object which had last discovery details.   Only super admin can delete such objects, is that correct ? our version is 8.0.9

 

Regards,

Abhilash R

Re: Removing all IPAM address objects with last discovery over 10 days ago

TTiscareno Community Manager
Community Manager
Posts: 311
914     0

@Abhilash wrote:

Hi,

 

What I have noticed is, regular IPAM users cannot recliam the IPAM object which had last discovery details.   Only super admin can delete such objects, is that correct ? our version is 8.0.9

 

Regards,

Abhilash R


That is correct. This operation requires elevated permissions.

Showing results for 
Search instead for 
Do you mean 

Recommended for You