Discovery actions are a key part of Lansweeper Discovery. They define what is discovered, how often discovery runs, and where the process originates. Configuring these actions correctly ensures you build a complete and accurate IT and OT asset inventory.
Why configure discovery actions?
A discovery action defines the scope of what will be discovered and ensures the process runs correctly with the right access. Specifically, a discovery action lets you:
Define a scan target: Choose which assets to discover based on the IP range, subnet, or Active Directory OU.
Control coverage: Refine the results by setting inclusions and exclusions to prevent scans from overlapping or wasting resources.
Run under the proper context: Each action uses an assigned sensor and associated credentials to query assets securely.
Ensure discovery happens consistently: Actions determine when and how discovery tasks are launched within your deployment.
Without setting up discovery actions, your Network Discovery deployment won’t know where to look or what to include or exclude.
Prerequisites
Create a discovery action
In your site, go to Discovery > Actions > Create action.
Select Agentless > Add action.
Enter a Name and an optional description.
Add a trigger
This will determine when discovery will occur.
Select Add a trigger.
Select either:
Instant to run at a scheduled time on select days. Enter the name, time, and days you prefer.
Recurring to run at repeated hourly intervals. Enter a name and specify how often you want your discovery to run.
Select Add trigger.
Add a target
This will specify where you want discovery to occur.
Select Add target.
Select either:
Custom (IP, Host, or SCCM). Enter the respective information.
Active Directory. Enter a name, select what to discover, enter the Domain DNS name and ADSI path, select a LDAP protocol and a port.
Select Add targets.
Add an exclusion
Exclude IP addresses or ranges you don’t want to discover. This prevents redundant discovery and duplicate data if multiple actions overlap.
Select Add exclusion.
Enter one or more IP addresses or ranges.
Select Add exclusion(s).
Specify a sensor
This will specify which sensor your discovery action applies to.
Select the Assign sensor tab.
Select one or multiple sensors from the list.
Specify a credential
Each discovery action must use credentials to query targets. You can assign multiple credentials, which will be tried in order until one succeeds.
If you have not already, Create discovery credentials.
Select the Assign credentials tab.
Select one or multiple credentials from the list.
Create the action
Now that you’ve entered all the required information, select Create action.