Hi,
the problem probably is in realtime.max_bytes_agent=7200
In older versions of QueueMetrics that value defines how many bytes QueueMetrics should load from the database/file in order to look back for agent events. Agent events are used to determine his status.
In newer versions, that value doesn't express anymore bytes but seconds, but we kept the old name for compatibility reasons. New installations come with a proper value but if you update from an old version you need to change that since updates doesn't modify anything in your configuration (this is by design).
7200 seconds (2 hours) are too few, the ideal value would be the same as the hotdesking, 86400.
Please, do try that way and let us know if it works.

Regards
Mirko