About the AutoClean Feature
Auto Clean rules help you manage old and possibly stale data in Device42, automatically. Should an object (e.g. a device or an IP address) not be found by a subsequent auto-discovery job, or modified by a manual effort, it may be out of service. This is especially true of servers and other objects in public clouds, but can also apply to objects that are behind the corporate firewall.
The rules for when a particular type of object should be considered and the rules for what to do about such objects vary from organization to organization. This feature enables you to define your own rules and tell Device42 what actions should be taken.
AutoClean Supported CIs
AutoClean rules can target a wide variety of CIs (Configuration Items) in Device42, including everything from Assets to users to VLANs, and everything in between. The following graphic lists the objects supported as AutoClean rule targets as of v15.14:
Creating AutoClean Rules
Each rule specifies a type of object and a number of days. The combination of object type and number of days define the rule.
Auto Clean Edit Form Options
In the edit form, you can create an action that is triggered when an object of the type specified is found that was last updated more than the specified numbers of days ago.
Delete: checked means the object will be deleted.
Clear All IPs: checked means all IPs will be removed from the Device; if a subnet is chosen, all IPs from that subnet will be cleared.
Connectivity: checked means all connectivity to the device will be cleared.
Service level: Choose a service level to set when the rule is triggered (above example will set to Decommissioned). \
Emails and webhooks can also be sent.
The Auto Clean rules run once per day. If only an email or webhook is sent but no action is taken, the email or webhook will repeat each day until an action is taken that deletes or changes the object record.