Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

Which table contains node the availability percentage?

$
0
0

I am trying to create a custom SQL report for the top 25 nodes by lowest availability for the last 7 days. So far this is what i've come with:

select distinct top 25 rt.Availability, rt.NodeID, n.Caption
from ResponseTime rt
join Nodes n on n.NodeID = rt.NodeID
where n.Caption like '%-FW' and rt.Availability > 0
order by Availability asc

i realize i'm missing the function to average the availability for the last 7 days, this is just a starting point to see what data i can get.

i can't seem to find the correct table that would hold the availability data. i found the ResponseTime view that has the Availability column, but i don't think this information is accurate. when i run the above query, i get this result (i left off the caption column on purpose):

The values under the Availability column are just not correct. there's no way these Firewalls have 0% availability. they haven't dropped in over a month. so i'm sure i'm just using the wrong table.

any suggestions would be greatly appreciated. thank you.


Viewing all articles
Browse latest Browse all 3719


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