Hyperglance comes with Telegraf pre-installed. It is possible to configure Telegraf to monitor your AWS estate using this guide.


Step-by-step guide

Read the github documentation for the AWS Telegraf plugin here.


1) Create this file: /etc/telegraf/telegraf.d/aws.conf

2) Copy & paste the sample configuration (see below) into the file and edit the region, access_key, secret_key and cloudwatch namespace to suit your needs. You can copy and paste it multiple times if you have multiple regions/accounts or cloudwatch namespaces to monitor.

3) Restart services:

systemctl restart telegraf.service (For CentOS) or service telegraf restart (For AWS app)

systemctl status telegraf.service (For CentOS) or service telegraf status (For AWS app)

tail -f /var/log/messages  | grep  telegraf


SAMPLE CONFIGURATION:


[[inputs.cloudwatch]]

## Amazon Region (required)
region = "us-east-1"

## Amazon Credentials
access_key = "xxxxxxxx"
secret_key = "xxxxxxxx"

period = "5m"

delay = "5m"

interval = "5m"

## Metric Statistic Namespace (required)
namespace = "AWS/EC2"

ratelimit = 200



Note: You can add any cloudwatch namespaces to this configuration that you wish, however Hyperglance only has built-in Grafana dashboards for the following namespaces:

  • AWS/EC2 (Amazon EC2)
  • AWS/DynamoDB (Amazon DynamoDB)
  • AWS/RDS (Amazon Relational Database Service)
  • AWS/Billing (AWS Billing).

The build in Dashboards can be enabled as shown in Enable pre-configured Grafana Dashboards