‎01-28-2016 02:11 PM
Solved! Go to Solution.
‎01-30-2016 11:37 AM
Thank you for your email. We've included two sample reports below, one that lists the non-Windows device errors and one that counts the number of devices in error, per error message. You can display the report results of any report on your dashboard with the built-in Data Report widget.
Instructions for adding the reports below to your Lansweeper installation can be found here. If you are interested in building or modifying reports, we do recommend:
- Reviewing some SQL tutorials, as the Lansweeper report builder is a standard SQL editor. If you know SQL, you know how to build Lansweeper reports as well. This seems like a good tutorial.
- Making use of our database dictionary, which explains in great detail what each database table and field stores. More information on the dictionary can be found here.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tsysasseterrortypes.ErrorMsg,
tblErrors.CFGname,
tblErrors.ErrorText,
tblErrors.Lastchanged
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblErrors On tblAssets.AssetID = tblErrors.AssetID
Inner Join tsysasseterrortypes On tsysasseterrortypes.Errortype =
tblErrors.ErrorType
Where tsysAssetTypes.AssetTypename <> 'Windows' And tblAssetCustom.State = 1
Order By tblErrors.Lastchanged DescSelect Distinct Top 1000000 tsysasseterrortypes.ErrorMsg,
Count(tblAssets.AssetID) As Count
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblErrors On tblAssets.AssetID = tblErrors.AssetID
Inner Join tsysasseterrortypes On tsysasseterrortypes.Errortype =
tblErrors.ErrorType
Where tsysAssetTypes.AssetTypename <> 'Windows' And tblAssetCustom.State = 1
Group By tsysasseterrortypes.ErrorMsg
‎01-30-2016 11:37 AM
Thank you for your email. We've included two sample reports below, one that lists the non-Windows device errors and one that counts the number of devices in error, per error message. You can display the report results of any report on your dashboard with the built-in Data Report widget.
Instructions for adding the reports below to your Lansweeper installation can be found here. If you are interested in building or modifying reports, we do recommend:
- Reviewing some SQL tutorials, as the Lansweeper report builder is a standard SQL editor. If you know SQL, you know how to build Lansweeper reports as well. This seems like a good tutorial.
- Making use of our database dictionary, which explains in great detail what each database table and field stores. More information on the dictionary can be found here.
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tsysasseterrortypes.ErrorMsg,
tblErrors.CFGname,
tblErrors.ErrorText,
tblErrors.Lastchanged
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblErrors On tblAssets.AssetID = tblErrors.AssetID
Inner Join tsysasseterrortypes On tsysasseterrortypes.Errortype =
tblErrors.ErrorType
Where tsysAssetTypes.AssetTypename <> 'Windows' And tblAssetCustom.State = 1
Order By tblErrors.Lastchanged DescSelect Distinct Top 1000000 tsysasseterrortypes.ErrorMsg,
Count(tblAssets.AssetID) As Count
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblErrors On tblAssets.AssetID = tblErrors.AssetID
Inner Join tsysasseterrortypes On tsysasseterrortypes.Errortype =
tblErrors.ErrorType
Where tsysAssetTypes.AssetTypename <> 'Windows' And tblAssetCustom.State = 1
Group By tsysasseterrortypes.ErrorMsg
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now