Please run the below query in the database:
select * from agent where CONNECTSTATUS = '2' AND LASTCONNECTIONTIME >= 'DATE';
Example query to return agents that have not reported since 10 September 2024.
select * from agent where CONNECTSTATUS = '2' AND LASTCONNECTIONTIME >= '10-SEP-24';