我已经在我的 EC2 实例上安装了 AWS CloudWatch 代理并配置了amazon-cloudwatch-agent-config-wizard. AWS 凭证.aws/credentials在配置期间存储在向导中并由向导提取。
现在我正在检查代理的状态,但我不明白"cwoc_status": "stopped"指的是什么?
这里是代理状态的输出:
ubuntu@ip-address:~$ sudo /opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -m ec2 -a status
{
"status": "running",
"starttime": "2021-02-09T05:37:12+00:00",
"configstatus": "configured",
"cwoc_status": "stopped",
"cwoc_starttime": "",
"cwoc_configstatus": "not configured",
"version": "1.247347.3b250378"
}
Run Code Online (Sandbox Code Playgroud)