IoT Fleetwise campaign deployment

0

Hello AWS people I installed IoT Fleetwise edge agent on my device and approved the campaign. However, there is nothing connected to the vehicle, and the campaign deployment status of the vehicle appears to be <READY>. What kind of logs can I check?

Thank you always.

mzhyo
已提问 2 个月前115 查看次数
2 回答
0

Hi there! Once the vehicle model and a time-based or event campaign are created, the campaign will be delivered to the FleetWise Edge agent (FWE). If you have followed the steps for installing FWE as a service, journalctl can be used to review the log files (search this page for an example journalctl command).

If you need additional information, the config.json file for FWE can be modified to increase logging level from error to trace by changing the systemWideLogLevel parameter. This is documented on the same page linked above.

Once you have confirmed connectivity and a campaign is in progress you will see log entries on operations FWE is performing. Let us know if this is helpful, or provide additional details and clarifications to help resolve your issue.

AWS
Gavin_A
已回答 2 个月前
profile picture
专家
已审核 2 个月前
  • Do I have to run install-fwe.sh again after I modify the config.json file?

  • If I want to see all the logs, can I write in the json file as follows? "systemWideLogLevel": "Trace", "Info", "Warning", "Error"

0

To check the deployment status of the vehicle, you can look at the logs from the edge agent on the device.

  • Review the logs from the edge agent service running on the device. This should show information about connecting to AWS IoT Core and any errors encountered during deployment.
  • Run the AWS IoT describe-job-execution command to get details of the deployment job for that vehicle. Check the status and any error messages under statusDetails and deployment-failure-cause
aws iot describe-job-execution --job-id iotJobId --thing-name vehicleThingName
  • Verify the campaign configuration and that the vehicle meets requirements like having the necessary sensors and software version. A mismatch here could cause deployment to fail.
  • Check for any network issues that may prevent the edge agent from reaching AWS IoT Core and receiving the deployment.
  • Reviewing the edge agent and job execution logs is usually enough to identify what step in the deployment failed and next steps to resolve it.
profile picture
专家
已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则