I need to run a query and build an alert for the following.
1)Need to query Orion.PoolMembers for any LastheartbeatTimeStamp greater than 1 hour.
SELECT HostName, LastHeartbeatTimeStamp FROM Orion.HA.PoolMembers
2)I want to calculate if the LastheartbeatTimestamp is > 60 minutes old. Really not sure how to accomplish this.