→ 🚀What's New? Explore Lansweeper's Fall 2024 Updates! Fall Launch Blog !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ErikT
Lansweeper Tech Support
Lansweeper Tech Support

You are scanning non-Windows assets, the scan ends, but the asset you just scanned does not seem to show up in your inventory. 

Why?

Your assets might be merged with an existing asset.

Lansweeper uses the MAC address as the unique identifier for non-Windows assets. If the MAC address is not available, the IP address will be used instead. Lansweeper will check if this unique identifier already exists when saving the scanned information in the database. If this is the case, the existing asset will be updated; if not, a new asset will be added.

More information on this unique identifier can be found in the following knowledgebase article: How Lansweeper uniquely identifies assets 

Note:
Lansweeper compares all MAC addresses for both assets (linked components included). If there's a match for any of them, the assets will merge, and the newly scanned data will update the existing asset.

We recently added a check on the serial number. It is worth noting that only the scanned serial numbers are compared, so a merge will only occur if the existing and scanned assets share the same serial number.

If no serial numbers are detected or if a serial was only detected for one of the assets (existing or scanned), no merge will occur, and the logic will revert to MAC-based merging. 

Note:
Manually editing the serial in the web console will not affect this new merge logic. 

Now what?

When a merge occurs, this should be visible in the Comments tab of the existing asset. 

ErikT_0-1659363756004.png

A workaround for these merges is adding the affected MAC address(es) to an internal list in the Lansweeper database (tsysMacBlacklist).

Adding the shared MAC Address(es) to tsysMacBlacklist will prevent Lansweeper from using the shared MAC address(es) to uniquely identify assets and allow both assets to be added to the database.

To execute scripts, you can use the DatabaseMaintenance tool, which can be found under Program Files (x86)\Lansweeper\Tools on your Lansweeper server.

As you are running code directly on your database, just to be safe, backup your databaseDo NOT skip this step.

To blacklist a shared MAC address, you can execute the below script.

Replace the value AA:BB:CC:00:11:22 with the MAC address you would like to exclude and give it a more meaningful 'Exclusion name'.

 

 

INSERT INTO tsysMacBlacklist (Mac, Comment) VALUES ('AA:BB:CC:00:11:22', 'Exclusion name')
GO
UPDATE tsysupdate SET MacBlacklist = GETDATE()

 



Was this post helpful? Leave a Kudo!
Did you have a similar issue and a different solution? Share your work in the comments below and help your fellow IT Hero's!
More questions? Browse our  Quick Tech Solutions  or  Community Forum.


If you can't find what you're looking for, create a post in our Community Forum.



New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now