Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 21097

Re: Re: I'd like to create an SQL report on collected WMI Collection stats

$
0
0

Without knowing what it is you're trying to accomplish I can only speculate. The query below will return the historical values for component ID #76. I would recommend using either the Win32 Report Writer available under [Start -> Programs -> SolarWinds Orion -> Alerting, Reporting, and Mapping -> Report Writer] or the new Web Report Writer introduced in SAM 6.0 available under [Settings -> Manage Reports]

 

SELECT  TOP 10000 APM_StatisticsUsage.AvgStatisticData AS Statistic_Data 


FROM 
APM_AlertsAndReportsData INNER JOIN APM_StatisticsUsage ON (APM_AlertsAndReportsData.ComponentId = APM_StatisticsUsage.ComponentID)


WHERE 
( DateTime BETWEEN 41579 AND 41610 )
 AND  
(  (APM_AlertsAndReportsData.ComponentId = 76)
)

Viewing all articles
Browse latest Browse all 21097

Trending Articles