Meraki recently updated their REST API to include device statuses for determining if a device is offline/online. I've learned through opening a case and speaking with technical support, this new call is not implemented in NPM/NMS yet. Per supports instructions, I'm submitting a Feature Request to hopefully have this new call implemented in a future update.
This is an example of the new API call:
HTTP REQUEST
GET /organizations/[organizationId]/deviceStatuses
PARAMETERS
None
SAMPLE REQUEST
curl -L -H 'X-Cisco-Meraki-API-Key: ' -X GET -H 'Content-Type: application/json' 'https://api.meraki.com/api/v0/organizations/[organizationId]/dev
I've confirmed this GET request works in Postman and here is an example of the results:
GET https://dashboard.meraki.com/api/v0/organizations/{{organizationId}}/deviceStatuses
Sample output:
[
{
"name": "***************",
"serial": "***************",
"mac": "***************",
"networkId": "**************",
"status": "offline",
"lanIp": "***************"
}