Need a monitor/alert on Last reboot time.

I need to create a resource and alerts based on system up time or last reboot. For instance, send an alert if a machine hasn't rebooted for X number of days.

Is there a template for that? I saw there was one for node up time, but that didn't seem to work like I expected, the date it showed for last up time, was the current date/when it polled the last time.

But it did show in the statistical data in the details the number of hours the machine has been up.

What is the query to get that data and how to format it in hours or days?

OR is there a different template built-in or user created?

How does anyone else handle that?

Searching thwack didn't find what I was looking for.

Orion Platform 2015.1.3, IVIM 2.1.1, DPA 10.0.1, NPM 11.5.3, QoE 2.0, IPAM 4.3.1, Storage 5.1.0, SAM 6.2.3