This article explains what all to do when the Device collection fails in JSI and an error message is seen in the Email Notification received.
Error message seen for Device collection failure:
"Unable to run scheduled data collection because LWC <SN> was disconnected at the time the collection was attempted. ALL"
Please check the status of the LWC under the JSI portal. It would mostly be in DISCONNECTED state due to which the device collection fails for all the devices.
Login to the captive portal for the LWC/vLWC and check if the JSI is Cloud Connected and Provisioned.
If not, download the extensive JSI and check for the config of the internal, external and captive portal interfaces. They should be in different subnets.
Also, check the output of the dig command and the traceroute to see if the connection is going through.
If the issue persists, please contact JTAC.