Tripp Lite UPS Runtime Alert?

So I have my new TrippLite UPS management card in and setup with LibreNMS but I’m curious if anyone knows or has an example on how to setup an alert for battery runtime so it can send out an alert if it’s at or bellow 15minutes or what not.

Anyone complete this successfully? I’m going to guess it has to be a custom sql query for the alert.