We noticed that some robots stopped reporting CDM data and would like to identify the robots. Even though these robots appear green and active, something has stopped them from sending data.
Now we wonder if there might be more robots with this problem.
How can we query for this situation where the QoS is not updated or has gone stale?
Is there a query that will return a list of robots the were reporting CDM data a week ago but have not reported data in the last hour?
Any UIM version
The query below will return a list of robots that reported CDM data seven days back but have not reported data the last 24 hours.
SELECT distinct(robot)
FROM S_QOS_DATA AS qd
JOIN S_QOS_SNAPSHOT AS snap ON snap.table_id = qd.table_id
WHERE snap.[sampletime] > dateadd(day, -7, getdate())
and probe = 'cdm' and robot not in (SELECT distinct(robot)
FROM S_QOS_DATA AS qd
JOIN S_QOS_SNAPSHOT AS snap ON snap.table_id = qd.table_id
WHERE snap.[sampletime] > dateadd(day, -1, getdate())
AND probe = 'cdm')