Rekor Scout®
Ask or search…
K
Links

JSON Heartbeat

Every minute, the Rekor Scout® Agent adds one heartbeat message to the queue. The heartbeat provides general health and status information. The format is as follows:
{
"disk_quota_earliest_result" : 0,
"processing_threads_configured" : 6,
"processing_threads_active" : 6,
"license_key" : "licensekeyvalue",
"memory_swaptotal_bytes" : 0,
"cpu_usage_percent" : 0,
"disk_quota_total_bytes" : 1073741824,
"memory_total_bytes" : 0,
"video_streams" : [
{
"url" : "rtsp://192.168.0.1/stream",
"fps" : 0,
"camera_id" : 1234,
"gps_longitude" : -79.2059326171875,
"last_update" : 1562681904001,
"is_streaming" : true,
"camera_name" : "test",
"gps_latitude" : 37.635986328125
}
],
"system_uptime_seconds" : 0,
"memory_last_update" : 0,
"recording_enabled" : true,
"license_valid" : true,
"daemon_uptime_seconds" : 0,
"data_type" : "heartbeat",
"disk_quota_consumed_bytes" : 0,
"agent_version" : "2.7.101",
"company_id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"disk_drive_free_bytes" : 8031714103340852224,
"os" : "linux",
"agent_type" : "alprd",
"beanstalk_queue_size" : -1,
"openalpr_version" : "2.7.101",
"disk_drive_total_bytes" : 491323654144,
"agent_uid" : "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY", # Taken from /etc/openalpr/install_id
"memory_swapused_bytes" : 0,
"memory_consumed_bytes" : 0,
"agent_hostname" : "hostnameforthismachine",
"timestamp" : 1562681904008,
"license_systemid" : "12341234123412341234",
"cpu_cores" : 8,
"cpu_last_update" : 0
}