Hi,
How to pull or get the list of cpu cores for a device or group of devices in SolarWinds by any means. Thanks
Hi,
How to pull or get the list of cpu cores for a device or group of devices in SolarWinds by any means. Thanks
That is a loaded question when working with SolarWinds. If you have Virtualization Manager installed, then you just look at the summary page:
What tools do you have installed? What hardware are you trying to scan? If you could provide more information, myself or someone else in THWACK can point you in the right direction.
Actually you can get it even without the virtualization monitor. SW does some rudimentary virtualization without VMan. The field, CpuCoreCount, can be found in the table Orion.VIM.Hosts. Here is a SWQL query I wrote for a report on VMware hosts. CpuCoreCount is the last field on the first line.
SELECT N.Caption, H.HostName, H.IpAddress, S.StatusName, H.VMwareProductVersion AS VMware_Version, H.Model, H.Vendor, H.ProcessorType, H.CpuCoreCount,
H.CpuPkgCount AS Sockets, H.CpuMhz, H.MemorySize / (1024*1024*1024) AS MemoryGB,
(Select SUM(V.Size) AS DiskSpace
FROM Orion.Volumes V
WHERE H.NodeID = V.NodeID AND V.Type LIKE 'Fixed Disk')/(1024*1024*1024) AS DiskSpaceGB,
(Select SUM(V.Size) AS DiskSpace
FROM Orion.Volumes V
WHERE H.NodeID = V.NodeID AND V.Type LIKE 'NetworkDisk')/(1024*1024*1024) AS SanDiskGB,
H.NicCount, H.HbaCount, H.HbaFcCount, H.HbaScsiCount, H.HbaIscsiCount, H.BuildNumber, H.NetworkUtilization, H.NetworkUsageRate, H.NetworkTransmitRate,
H.NetworkReceiveRate, H.NetworkCapacityKbps, H.CpuLoad, H.CpuUsageMHz, H.MemUsage, H.MemUsageMB, H.VmCount, H.VmRunningCount,
H.StatusMessage
FROM Orion.VIM.Hosts H
JOIN Orion.StatusInfo S ON H.Status = S.StatusId
JOIN Orion.VIM.DataCenters D ON H.DataCenterID = D.DataCenterID
JOIN Orion.VIM.VCenters C ON D.VCenterID = C.VCenterID
JOIN Orion.Nodes N ON C.NodeID = N.NodeID
WHERE H.VMwareProductName LIKE 'VMware ESXi'
The report looks like this
Actually you can get it even without the virtualization monitor. SW does some rudimentary virtualization without VMan. The field, CpuCoreCount, can be found in the table Orion.VIM.Hosts. Here is a SWQL query I wrote for a report on VMware hosts. CpuCoreCount is the last field on the first line.
SELECT N.Caption, H.HostName, H.IpAddress, S.StatusName, H.VMwareProductVersion AS VMware_Version, H.Model, H.Vendor, H.ProcessorType, H.CpuCoreCount,
H.CpuPkgCount AS Sockets, H.CpuMhz, H.MemorySize / (1024*1024*1024) AS MemoryGB,
(Select SUM(V.Size) AS DiskSpace
FROM Orion.Volumes V
WHERE H.NodeID = V.NodeID AND V.Type LIKE 'Fixed Disk')/(1024*1024*1024) AS DiskSpaceGB,
(Select SUM(V.Size) AS DiskSpace
FROM Orion.Volumes V
WHERE H.NodeID = V.NodeID AND V.Type LIKE 'NetworkDisk')/(1024*1024*1024) AS SanDiskGB,
H.NicCount, H.HbaCount, H.HbaFcCount, H.HbaScsiCount, H.HbaIscsiCount, H.BuildNumber, H.NetworkUtilization, H.NetworkUsageRate, H.NetworkTransmitRate,
H.NetworkReceiveRate, H.NetworkCapacityKbps, H.CpuLoad, H.CpuUsageMHz, H.MemUsage, H.MemUsageMB, H.VmCount, H.VmRunningCount,
H.StatusMessage
FROM Orion.VIM.Hosts H
JOIN Orion.StatusInfo S ON H.Status = S.StatusId
JOIN Orion.VIM.DataCenters D ON H.DataCenterID = D.DataCenterID
JOIN Orion.VIM.VCenters C ON D.VCenterID = C.VCenterID
JOIN Orion.Nodes N ON C.NodeID = N.NodeID
WHERE H.VMwareProductName LIKE 'VMware ESXi'
The report looks like this
Great SWQL query! I knew someone else would bite on this one! Good job yellowtj Hope the world it is treating you with dignity and respect!
Hi Zenifer,
First Congratulations on being an MVP! This one was easy as I had written the report just a few months ago. The biggest challenge was finding the right report!
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 200,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.