Usage: remove_not_present_items.sh
-h <host name>
[-a <filter by device IP address>]
[-d <filter by IP domain name (if used, -a must also be used)>]
[-i <filter by IP domain ID (if used, -a must also be used)>]
[-t <filter by days old from current time ie. 1 for 1 Day since retirement>]
[-z <filter by facet type>]
[-b <batch delete size>]
You can delete not present by device IP. So if you have the device IPs, you can run the script for each IP and remove their not present items.
Original Message:
Sent: 08-03-2021 12:49 PM
From: Michael Poller
Subject: Is it possible to remove "not present" items only for a device group?
Hi Bruno,
Not directly by Group, but there is a way.
Using the remove_not_present_items.sh script you can control what items are removed per device.
Could develop a list of components to delete based on devices that are members of the target group.
The documentation for the script is found on the Delete Components That Are Not Present page.
Hope that helps.
Mike
Original Message:
Sent: 08-03-2021 12:23 PM
From: Bruno Sousa
Subject: Is it possible to remove "not present" items only for a device group?
Hello,
Is it possible to somehow remove the "not present" itens (interfaces) only for a group that we have defined in DX PM?
Any advice on this?
Thank you.
BR
Bruno Sousa