Hi,
I have been asked to calculate the KPI bandwidth and throghtput monthly for some network devices. Does anyone have any idea how to do this?
Here are some ideas I have:
SELECT 'Bandwidth_Throughput' AS Bandwidth_Throughput--n.NodeCaption, i.Caption
,CONCAT ((i.InBandwidth/1000000000),' Gbps') AS Bandwidth
,CONCAT(ROUND(MAX(t.OutPercentUtil),2),'%') AS [TransmitPercentUtil]
,CONCAT((100-ROUND(MAX(t.OutPercentUtil),2)),'%') AS [AvailablePercent]
,CONCAT(MAX(i.Traffic.OutMaxbps)/1000000, ' Mbps') AS [Max_Transmit(Mbps)]
,CONCAT(AVG(i.Traffic.OutAveragebps)/1000000, ' Mbps') AS [Throughput(Mbps)]
--, DateTime
FROM Orion.NPM.InterfaceTraffic t
INNER JOIN NCM.Nodes n on t.NodeID = n.CoreNodeID
INNER JOIN Orion.NPM.Interfaces i on i.InterfaceID = t.InterfaceID