Hey guys, I'm following up on the load balancing question that came from the latest Solarwinds lab.We should be able to provide a percentage for every node based on node + interface count, this is only looking to calculate the polling rate. The query is not finished, but gives a good starting point, the info provided by the query will show the total number of interfaces per node. I know that the numbers will vary depending on implementation, and there are other factors to consider.
Does anyone know the calculation used by Solarwinds to provide the utilization percent ? That would come in handy for this.
Hoping that this becomes a collaborative script.
---------------- Polling Engine Information ----------------
Select Engines.ServerName,EngineProperties.EngineID,EngineProperties.PropertyName,
EngineProperties.PropertyType,EngineProperties.PropertyValue,engines.Elements, Engines.Interfaces
From EngineProperties
INNER Join Engines
ON EngineProperties.EngineID = engines.EngineID
Where PropertyName = 'ORION.Standard.Polling'
-------- Node to Interface Count --------
SELECT Nodes.EngineID,Nodes.Caption,
--Interfaces.InterfaceName,
COUNT (*) AS NumberOfInterfaces
From Nodes
INNER JOIN Interfaces
ON Nodes.NodeID = Interfaces.NodeID
Where Nodes.UnManaged = '0'
Group by Nodes.EngineID,Nodes.Caption
Order by Nodes.EngineID
Thanks,
David