title: I can't find cwagent metrics on aws console (cloudwatch agent)
body: <p>I installed cloudwatch agent at EC2 and checked 'running' status.</p>
  
  <blockquote>
    <p>install process</p>
  </blockquote>
  
  <p>(EC2 has EIP and VPC has internet gateway and routing table (0.0.0.0/0 -> igw-xxx)</p>
  
  <p>(create role-CloudWatchAgentServerPolicy and connect ec2)</p>
  
  <p>(sudo su)</p>
  
  <p>(wget <a href="https://s3.amazonaws.com/amazoncloudwatch-agent/redhat/amd64/latest/amazon-cloudwatch-agent.rpm" rel="nofollow noreferrer">https://s3.amazonaws.com/amazoncloudwatch-agent/redhat/amd64/latest/amazon-cloudwatch-agent.rpm</a>)</p>
  
  <p>(rpm -U ./amazon-cloudwatch-agent.rpm)</p>
  
  <p>(/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-config-wizard)</p>
  
  <p>(/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -c file://opt/aws/amazon-cloudwatch-agent/bin/config.json -s)</p>
  
  <p>(/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -m ec2 -a status)</p>
  
  <p>(check status -> running)</p>
  
  <p>but I can't find cwagent metrics on aws console.</p>
  
  <p>I don’t know why not.</p>
  
  <p>now VPC has vpn connection and dx connection…
  and has vpc endpoint</p>
  
  <p>Can this be a problem? (routingtable, security group)</p>
  
  <p>but I did download agent file…. in other word.. can use internet..</p>
  
  <p>thank you.</p>
  
  <p>config.json</p>
  
  <pre><code>{
          "agent": {
                  "metrics_collection_interval": 10,
                  "run_as_user": "cwagent"
          },
          "metrics": {
                  "append_dimensions": {
                          "AutoScalingGroupName": "${aws:AutoScalingGroupName}",
                          "ImageId": "${aws:ImageId}",
                          "InstanceId": "${aws:InstanceId}",
                          "InstanceType": "${aws:InstanceType}"
                  },
                  "metrics_collected": {
                          "disk": {
                                  "measurement": [
                                          "used_percent"
                                  ],
                                  "metrics_collection_interval": 10,
                                  "resources": [
                                          "*"
                                  ]
                          },
                          "mem": {
                                  "measurement": [
                                          "mem_used_percent"
                                  ],
                                  "metrics_collection_interval": 10
                          }
                  }
          }
  </code></pre>