- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Removing all IPAM address objects with last discovery over 10 days ago
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-04-2017 02:12 PM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-24-2017 11:19 AM
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
Re: Removing all IPAM address objects with last discovery over 10 days ago
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-07-2018 04:21 AM
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-07-2018 02:21 PM
@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.