Hi,
I need a report that shows active clients in a given period of time and on a given WLC
ex.
start 2014-08-08 08:00:00
end 2014-08-08 12:00:00
WLC01
I have this report sql string to start with:
SELECT
TOP 25
rc.Client_MAC AS MAC_Address,
rc.NodeID as NodeID,
rc.Client_Name AS Name,
AVG((rc.TotalBytesRxPerSec + rc.TotalBytesTxPerSec)) AS AVERAGE_of_Avg_Bps_Rx_Tx,
AVG(rc.TotalBytesRxPerSec) AS AVERAGE_of_Avg_Bps_Rx,
AVG(rc.TotalBytesTxPerSec) AS AVERAGE_of_Avg_Bps_Tx,
SUM((rc.TotalBytesRxDiff + rc.TotalBytesTxDiff)) AS SUM_of_Total_Bytes_Rx_Tx,
SUM(rc.TotalBytesRxDiff) AS SUM_of_Total_Bytes_Rx,
SUM(rc.TotalBytesTxDiff) AS SUM_of_Total_Bytes_Tx
FROM NPM_NV_WL_REPORT_CLIENTS_V rc
INNER JOIN Nodes on Nodes.NodeID = rc.NodeID
WHERE
( rc.DateTime BETWEEN '2014/08/08 08:00:00' and '2014/08/08 12:00:00' )
GROUP BY rc.Client_MAC, rc.Client_Name, rc.NodeID
ORDER BY 6 DESC
I then need to specify the wlc...
Can anyone help ?
Kind regards Torben