Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Daniel_B
Lansweeper Alumni
The report below lists all harddisk partitions on VMware hosts with less than 10% free space

The report will only list assets that meet all of the following criteria:
  • The asset state is set to "active".
  • The asset has been successfully scanned at least once.
  • The asset is a VMware hose.
  • The asset has a partition with less than 10% free disk space.

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblVmwareInfo.Version,
tblVmwareInfo.BiosVersion,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblVmwareDisk.Name As PartitionName,
Cast(Cast(tblVmwareDisk.FreeSpace As bigint) / 1024 / 1024 / 1024 As
numeric) As FreeGB,
Cast(Cast(tblVmwareDisk.TotalSpace As bigint) / 1024 / 1024 / 1024 As numeric)
As TotalSizeGB,
tblVmwareDisk.Url
From tblVmwareDisk
Inner Join tblAssets On tblVmwareDisk.AssetID = tblAssets.AssetID
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 tblVmwareInfo On tblVmwareInfo.AssetID = tblAssets.AssetID
Where (tblVmwareDisk.FreeSpace / tblVmwareDisk.TotalSpace * 100) < 10 And
tblState.Statename = 'Active'
Order By tblAssets.IPNumeric,
tblAssets.AssetName,
PartitionName
0 REPLIES 0

Reports & Analytics

Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.

New to Lansweeper?

Try Lansweeper For Free

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

Try Now