You can use check-cloudwatch-metric.rb to monitor the value of a cloudwatch metric. There’s a few parameters to provide such as the metric name, the dimension, and the thresholds to alert on. You’ll need to supply credentials through one of the methods supported by the aws-sdk such an IAM instance profile or a credential file. See the aws-sdk docs for details on credentials.
On Wed, Jun 21, 2017 at 12:07 AM, firstname.lastname@example.org wrote:
Need help to monitor AWS cloudwatch metrics using sensu. I am using sensu-plugins-aws
to get realtime metrics. So how can I achieve this? Which type of checks I need to use.
I have AWS access & secret keys to read Cloudwatch metrics. I am going to write chef cookbooks for this.