Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

SWIS query to calculate date/time difference

$
0
0

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.


Viewing all articles
Browse latest Browse all 2677

Trending Articles