‎03-05-2019 11:54 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblVmwareDatastoreClusters.Name,
tblVmwareDatacenters.DatacenterID,
tblVmwareDatacenters.Name As Datacenter,
(tblVmwareDatastoreClusters.FreeSpace) / 1024 / 1024 / 1024 As SpaceGB,
(tblVmwareDatastoreClusters.Capacity) / 1024 / 1024 / 1024 As CapactityGB,
tblVmwareDatastoreClusters.DrsEnabled,
tblVmwareDatastoreClusters.IoLoadBalanceEnabled,
tblVmwareDatastoreClusters.DefaultIntraVmAffinity,
tblVmwareDatastoreClusters.DefaultVmBehaviour,
tblVmwareDatastoreClusters.LoadBalanceInterval,
tblVmwareDatastoreClusters.SpaceUtilizationThreshold,
tblVmwareDatastoreClusters.MinSpaceUtilizationDifference,
tblVmwareDatastoreClusters.IoLatencyThreshold,
tblVmwareDatastoreClusters.IoLoadImbalanceThreshold,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblVmwareVcenters On tblAssets.AssetID = tblVmwareVcenters.AssetID
Inner Join tblVmwareDatacenters On tblVmwareVcenters.VcenterID =
tblVmwareDatacenters.VcenterID
Inner Join tblVmwareDatastoreClusters On tblVmwareDatacenters.DatacenterID =
tblVmwareDatastoreClusters.DatacenterID
Where tblState.Statename = 'Active'
Order By tblAssets.AssetName,
tblVmwareDatastoreClusters.Name
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now