SMS SQL to show Heartbeat Discovery times

Some simple SQL to show quick status on heartbeat discovery for all your SMS clients.

----Begin SQL----
select AgentName, DatePart(dd, AgentTime) 'Day',
DatePart(hh, AgentTime) 'Hour' ,
Count(*) 'Count'
from v_AgentDiscoveries
Where AgentName = 'Heartbeat Discovery' and AgentTime > '2007-06-18'
Group by AgentName, DatePart(dd, AgentTime),
DatePart(hh, AgentTime)
Order By AgentName, DatePart(dd, AgentTime), DatePart(hh, AgentTime)
----End SQL----

Comments

Popular posts from this blog

SMS "Program failed (run time exceeded)" 10070

SMS "Waiting for User Condition" 10036

SMS "Waiting for content" 10035