→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
andrea_riva
Engaged Sweeper
Hello all,

I'm a new LanSweeper user (5.0.0.60, Standard, 250 clients version).

I installed LanSweeper last week, setting up Server Options so that "old" items are only marked as not-active (but not deleted).

After some days of use and network scanning, on Friday afternoon there were 240 assets listed, while today (Monday morning) assets are down to 231, with nobody using LanSweeper during the weekend. I looked for a log of operations to understand why some assets have disappeared, but I couldn't find any. Also, I don't have a backup version of the LanSweeper database, so I cannot identify the 9 missing assets.

One thing I did Friday was purging our internal DNS of old records (both A and PTR). I wonder if this could have prompted some form of "merging" between assets which were previously seen as different because of DNS inconsistencies. Unfortunately, having used LanSweeper for such a few days, I've not had the time yet to check the scanned assets one by one, so I cannot exclude that on Friday there were some duplicate assets...

To summarize, my questions are:

- is there some form of automatic asset merging/deletion (other than the options available in Server Options)? what does it do specifically and when does it occur?

- is there a log of the asset history (creation, deletion, and possibly merging)?

Thank you very much for your help,
Andrea
5 REPLIES 5
Hemoco
Lansweeper Alumni
Please contact support@lansweeper.com and provide us with a link to this forum thread and your entire Errorlog.txt file.
andrea_riva
Engaged Sweeper
I've been using the Assets -> Default group command. That is the count that changed from 240 to 231 during the weekend. Today I also checked the tblAssets table, which contains 231 records.
Hemoco
Lansweeper Alumni
Could you clarify how you've been checking your asset count so far.
andrea_riva
Engaged Sweeper
Hello and thanks for your answer. Errorlog.txt is one of the first files I checked, but the only entries since Friday are:

03/08/2013 09:13:26: L*****30 SOFTWARE La chiamata di procedura remota non è riuscita. (Eccezione da HRESULT: 0x800706BE)
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
in LansweeperService.Software.GetSoftwareKey(UInt32 hive, String keytoscan, DataTable rst, Asset& myAsset, Boolean& inerror, IDbConnection& sqlcon)
03/08/2013 09:14:05: L*****20 SOFTWARE La chiamata di procedura remota non è riuscita. (Eccezione da HRESULT: 0x800706BE)
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
in LansweeperService.Software.GetSoftwareKey(UInt32 hive, String keytoscan, DataTable rst, Asset& myAsset, Boolean& inerror, IDbConnection& sqlcon)
03/11/2013 08:48:45: N****8 SOFTWARE La chiamata di procedura remota non è riuscita. (Eccezione da HRESULT: 0x800706BE)
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
in LansweeperService.Software.GetSoftwareKey(UInt32 hive, String keytoscan, DataTable rst, Asset& myAsset, Boolean& inerror, IDbConnection& sqlcon)
03/11/2013 11:02:44: ligabudom\N****9\1 Server RPC non disponibile. (Eccezione da HRESULT: 0x800706BA)
in System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
in System.Management.ManagementScope.InitializeGuts(Object o)
in System.Management.ManagementScope.Initialize()
in LansweeperService.ComputerScanning.CheckWMIInitialAccessOK(Asset myAsset, IDbConnection sqlcon)

There are only 4 computers involved, with "Remote Procedure Call failed" and "Unavailable RPC server" errors, whereas there is no line referring to cleanups.

Note that I'm still in the process of cleaning up my Active Directory, so some active scans fail because the PCs are no longer available, which should explain the "Remote Procedure Call failed" errors.

Server options are set this way:

- Automatically make non-active computers active when they are rescanned. TRUE
- Set computers to non-active if not seen in the last 45 days. TRUE
- Set Computers to non-active if not found in Active Directory. TRUE
- Set computers to non-active if disabled in Active Directory. TRUE

all other options are FALSE. I've been running Lansweeper for a week, so no asset as been not seen for 45 days, but in any case it should just be marked non-active.

Thanks again for your help.
Hemoco
Lansweeper Alumni
Cleanup operations should be logged in Program Files (x86)/Lansweeper/Service/Errorlog.txt on your Lansweeper server. Assets should only disappear due to:
- Manual deletions.
- Deletions caused by Configuration/Scanning Setup/Server Options.