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

Re: Need a Regional Average report

$
0
0

This should get you pointed in the right direction if you really want to use SQL (but I would HIGHLY recommend just making this in the web report writer). Note that it may not be 100% perfect, my test DB is down for maintenance right now.

 

To answer you 2nd question, you should be able to chart the devices in a line chart using the web report writer.

 

OVERALL AVG:

SELECT
AVG(r.Availability) as 'AVG Availability'
FROM
ResponseTime r
JOIN
Nodes n ON n.nodeid=r.nodeid
WHERE
DateTime > (GetDate()-7)
AND
--Change the line below to reflect your custom property name and region--
n.CustomProperty = 'Region'

 

AVG BY NODE:

SELECT
AVG(r.Availability) as 'AVG Availability'
,n.Caption as Device
FROM
ResponseTime r
JOIN
Nodes n ON n.nodeid=r.nodeid
WHERE
DateTime > (GetDate()-7)
AND
--Change the line below to reflect your custom property name and region--
n.CustomProperty = 'Region'
GROUP BY
n.Caption

 

 

 

-ZackM

Loop1 Systems: SolarWinds Training and Professional Services


Viewing all articles
Browse latest Browse all 20396

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>