cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
altodd
Engaged Sweeper
I know that "RPC Unavailable" has to do with the online but firewalled error, but what else can I look for? I want only a list of online but firewalled computers so I can get IT to go fix the firewall issues with scanning. Here is my current code:
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tsysAssetTypes.AssetTypename As AssetType,
tblAssets.Userdomain,
Coalesce(tsysOS.Image, tsysAssetTypes.AssetTypeIcon10) As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
Coalesce(tsysOS.OSname, tblLinuxSystem.OSRelease, tblMacOSInfo.SystemVersion)
As OS,
tblAssets.SP,
tblAssets.Lastseen,
tblAssets.Lasttried,
tsysasseterrortypes.ErrorMsg As ErrorType,
tblErrors.ErrorText As ErrorMessage,
tblErrors.Lastchanged
From tblAssets
Left Join tsysOS On tsysOS.OScode = tblAssets.OScode
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblErrors On tblAssets.AssetID = tblErrors.AssetID
Inner Join tsysasseterrortypes On tblErrors.ErrorType =
tsysasseterrortypes.Errortype
Left Join tblMacOSInfo On tblAssets.AssetID = tblMacOSInfo.AssetID
Left Join tblLinuxSystem On tblAssets.AssetID = tblLinuxSystem.AssetID
Where tsysasseterrortypes.ErrorMsg Like 'RPC%' And tblErrors.Lastchanged >
GetDate() - 7 And tblState.Statename = 'Active'
Order By tblErrors.Lastchanged Desc,
tblAssets.IPNumeric,
tblAssets.Domain,
tblAssets.AssetName


To clarify, this code is looking for the RPC Unavailable error, but that includes more than I want, how can I modify this to only show what I am looking for?
1 REPLY 1
Esben_D
Lansweeper Employee
Lansweeper Employee
Unfortunately, the error messages displayed on the asset's overview page are not stored in the database. Only error on the errors tab are stored in the database and can be reported on.