agent_report - AWS OpsWorks

agent_report

Important

AWS OpsWorks Stacks is no longer accepting new customers. Existing customers will be able to use the OpsWorks console, API, CLI, and CloudFormation resources as normal until May 26, 2024, at which time they will be discontinued. To prepare for this transition, we recommend you transition your stacks to AWS Systems Manager as soon as possible. For more information, see AWS OpsWorks Stacks End of Life FAQs and Migrating your AWS OpsWorks Stacks applications to AWS Systems Manager Application Manager.

Returns an agent report.

sudo opsworks-agent-cli agent_report

The following output example is from an instance that most recently ran a configure activity.

$ sudo opsworks-agent-cli agent_report AWS OpsWorks Instance Agent State Report: Last activity was a "configure" on 2015-12-01 18:19:23 UTC Agent Status: The AWS OpsWorks agent is running as PID 30998 Agent Version: 4004-20151201152533, up to date