Host List: Downtime Percentage

I’m trying to get the number of hours a host is down using the system plugin, uptime metric. What query would achieve this? I’d also like to get the percent of uptime as well.

Found this GitHub issue, but it’s still under development:

It would be rad to have it be adjustable as well. To be able to view how many hours/minutes it was down for the last 30 days, 60 days, etc.

I’ve been trying to achieve something similar, percentage of time a host is availble over 30 days. Still no luck unfortunately.