More Related Content Similar to CloudWatchの使い方 Similar to CloudWatchの使い方 (20) CloudWatchの使い方27. 取得
Time : 2013-12-09 12:00:00
Average : 86.66666666666667
Unit : None
Time : 2013-12-09 12:03:00
Average : 63.333333333333336
Unit : None
classmethod.jp
27
40. AWS/EC2
CPUUtilization
[ec2-user@zabbix-server ~]$ mon-get-stats
> --namespace AWS/EC2
> --metric-name CPUUtilization
> --dimensions "InstanceId=i-1c46481e"
> --statistics "SampleCount,Average,Sum,Maximum,Minimum"
> --period 300
> --start-time 2013-12-09T10:10:00.000Z
> --end-time 2013-12-09T10:30:00.000Z
> --region ap-northeast-1
> --aws-credential-file /opt/aws/credential-file
> --headers
Time
SampleCount Average Sum Minimum Maximum Unit
2013-12-09 10:10:00 5.0
96.704 483.52 91.8 100.0 Percent
2013-12-09 10:15:00 5.0
96.338 481.69 95.0 100.0 Percent
2013-12-09 10:20:00 5.0
97.682 488.41 93.44 100.0 Percent
2013-12-09 10:25:00 5.0
97.688 488.44 95.08 100.0 Percent
classmethod.jp
40
42. AWS/EC2
i-xxxxx
5 / 480 / 95 / 100
CPUUtilization(InstanceId=i-xxxxx)
12:00
classmethod.jp
12:05
12:10
42
12:15
12:20
43. AWS/EC2
CPUUtilization
[ec2-user@zabbix-server ~]$ mon-get-stats
> --namespace AWS/EC2
> --metric-name CPUUtilization
> --dimensions "InstanceId=i-1c46481e"
> --statistics "SampleCount,Average,Sum,Maximum,Minimum"
> --period 60
> --start-time 2013-12-09T10:10:00.000Z
> --end-time 2013-12-09T10:30:00.000Z
> --region ap-northeast-1
> --aws-credential-file /opt/aws/credential-file
> --headers
Time
SampleCount Average Sum Minimum Maximum Unit
2013-12-09 10:14:00 5.0
96.704 483.52 91.8 100.0 Percent
2013-12-09 10:19:00 5.0
96.338 481.69 95.0 100.0 Percent
2013-12-09 10:24:00 5.0
97.682 488.41 93.44 100.0 Percent
2013-12-09 10:29:00 5.0
97.688 488.44 95.08 100.0 Percent
classmethod.jp
43
51. AWS/EC2
CPUUtilization
[ec2-user@zabbix-server ~]$ mon-get-stats ¥
--namespace AWS/EC2 ¥
--metric-name CPUUtilization ¥
--dimensions "InstanceId=i-1c46481e" ¥
--statistics "SampleCount,Average,Sum,Maximum,Minimum" ¥
--period 60 ¥
--start-time 2013-12-10T00:00:00.000Z ¥
--end-time 2013-12-10T00:05:00.000Z ¥
--region ap-northeast-1 ¥
--aws-credential-file /opt/aws/credential-file ¥
--headers
Time
SampleCount Average Sum Minimum Maximum Unit
2013-12-10 00:00:00 1.0
32.43 32.43 32.43 32.43 Percent
2013-12-10 00:01:00 1.0
96.72 96.72 96.72 96.72 Percent
2013-12-10 00:02:00 1.0
100.0 100.0 100.0 100.0 Percent
2013-12-10 00:03:00 1.0
91.8 91.8 91.8 91.8 Percent
2013-12-10 00:04:00 1.0
95.0 95.0 95.0 95.0 Percent
classmethod.jp
51
55. AWS/EC2
CPUUtilization
[ec2-user@zabbix-server ~]$ mon-get-stats ¥
--namespace AWS/EC2 ¥
--metric-name CPUUtilization ¥
--dimensions "InstanceId=i-1c46481e" ¥
--statistics "SampleCount,Average,Sum,Maximum,Minimum" ¥
--period 300 ¥
--start-time 2013-12-10T00:00:00.000Z ¥
--end-time 2013-12-10T00:10:00.000Z ¥
--region ap-northeast-1 ¥
--aws-credential-file /opt/aws/credential-file ¥
--headers
Time
SampleCount Average Sum Minimum Maximum Unit
2013-12-10 00:00:00 5.0
83.19 415.95 32.43 100.0 Percent
2013-12-10 00:05:00 5.0
96.662 483.31 95.0 100.0 Percent
classmethod.jp
55
58. AWS/EC2
NetworkIn
[ec2-user@zabbix-server ~]$ mon-get-stats
> --namespace AWS/EC2
> --metric-name NetworkIn
> --dimensions "InstanceId=i-43523f46"
> --statistics "SampleCount,Average,Sum,Maximum,Minimum"
> --period 300
> --start-time 2013-12-09T16:10:00.000Z
> --region ap-northeast-1
> --aws-credential-file /opt/aws/credential-file
> --headers
Time
SampleCount Average Sum
Minimum Maximum Unit
2013-12-09 16:10:00 5.0
154.0 770.0 42.0 444.0 Bytes
2013-12-09 16:15:00 5.0
122.4 612.0 42.0 264.0 Bytes
2013-12-09 16:20:00 5.0
3224.0 16120.0 132.0 9184.0 Bytes
2013-12-09 16:25:00 5.0
29705.4 148527.0 306.0 135225.0 Bytes
2013-12-09 16:30:00 5.0
868.0 4340.0 306.0 1568.0 Bytes
classmethod.jp
58