Monitor AWS with PRTG CloudWatch Sensors

Monitoring is an extremely important task not only on-premises but also in cloud environments. Organizations are no longer now simply on-premises with their infrastructure. They also have infrastructure that exists in one or even many public cloud environments. So organizations are operating in a hybrid and even multi-cloud configuration in most cases. Amazon’s AWS cloud is the most popular option for businesses today. It boasts 33% of the cloud market share and continues to dominate in many areas. I have written many times before about Paessler’s PRTG Monitoring solution as it provides an extremely robust solution with many capabilities to note. One of those capabilities to note is the ability to monitor your AWS environment. This post will show how to monitor AWS with PRTG CloudWatch sensors including a walkthrough of configuration steps.

What is Paessler PRTG?

Paessler PRTG is a very powerful monitoring solution that works off the concept of sensor-based monitoring where you add devices and then add various sensors that you want to use to monitor those devices. PRTG makes this process easier as well by means of device templates that add many of the desired sensors out of the box for monitoring various infrastructure types.

As an example, if you want to add a vSphere VCSA appliance or an ESXi host, you can enter the FQDN and IP address of the host and then select to use an existing device template and then select VMware vCenter/ESXi for the device template. It will then add the various sensors that make sense for a vCenter Server or an ESXi host to monitor accordingly.

Below is a screenshot of adding the VMware ESX / vCenter Server to PRTG.

Monitoring vmware vsphere environment with prtg device template
Monitoring vmware vsphere environment with prtg device template

Monitor AWS with PRTG CloudWatch Sensors

We can easily monitor AWS with PRTG CloudWatch Sensor in just a few steps, including:

  1. Creating a PRTG device group
  2. Setting AWS permissions for monitoring in PRTG
  3. Create a new PRTG device for monitoring your AWS environment
  4. Adding a new PRTG Device Sensor for CloudWatch monitoring

1. Creating a PRTG device group

One of the first steps that actually isn’t required but it allows configuring a device hierarchy for monitoring purposes so you can group devices together. In addition, with a device group, you can set specific monitoring configuring, including credentials. So, below, I have created a new PRTG device group that will contain my PRTG CloudWatch sensor.

Creating a new aws device group in prtg
Creating a new aws device group in prtg

2. Setting AWS permissions for monitoring in PRTG

There is an in depth KB that discusses how to setup AWS permissions for monitoring in PRTG here: How do I set permissions for the Amazon Web Services (AWS) API key to use certain sensors in PRTG? | Paessler Knowledge Base. Once you have configured your IAM permissions for PRTG access, you can then add the permissions to the settings of your device group. You will need your Access key and Secret key for this purpose to query the AWS API programmatically.

Adding your aws credentials to prtg for monitoring aws
Adding your aws credentials to prtg for monitoring aws

3. Create a new PRTG device for monitoring your AWS environment

This was a step I couldn’t really find documented anywhere as of yet. You have to create a device to be able to monitor your AWS environment, however, wasn’t sure which device it was looking for as you are required to enter an IP address or FQDN for adding a device. Devices are required to add a sensor.

However, in just a bit of tinkering, found that using the monitoring API URL for AWS seemed to work just fine. For US-EAST-1, I used:

monitoring.us-east-1.amazonaws.com

My Add Device screen looked like this.

Creating a new aws device for monitoring your cloudwatch environment in aws
Creating a new aws device for monitoring your cloudwatch environment in aws

4. Adding a new PRTG Device Sensor for CloudWatch monitoring

For the new AWS device that is pointing to the CloudWatch API URL for monitoring the AWS environment, just right-click and choose Add Sensor.

Adding a new aws sensor for the prtg device configured for cloudwatch
Adding a new aws sensor for the prtg device configured for cloudwatch

This will launch the Add Sensor screen. Type in AWS in the search field to bring up the available AWS sensors. I am selecting to add the Amazon CloudWatch EC2 monitor. The current monitors available include:

  • Amazon CloudWatch Alarm
  • Amazon CloudWatch EBS
  • Amazon CloudWatch EC2
  • Amazon CloudWatch ElastiCache
  • Amazon CloudWatch ELB
  • Amazon CloudWatch RDS
  • Amazon CloudWatch SNS
  • Amazon CloudWatch SQS
  • Amazon Cost

Keep in mind, these show to still be in beta.

Search for aws to list the available prtg aws monitor sensors
Search for aws to list the available prtg aws monitor sensors

After clicking on the Amazon CloudWatch EC2 sensor, you will see PRTG start preparing the sensor.

Preparing the new sensor in prtg for cloudwatch
Preparing the new sensor in prtg for cloudwatch

Next, select the instanceIDs that you want to monitor with the PRTG CloudWatch sensors.

Selecting the specific instance ids for the ec2 instances in cloudwatch for the prtg sensor
Selecting the specific instance ids for the ec2 instances in cloudwatch for the prtg sensor
After scanning the prtg aws cloudwatch sensor is online
After scanning the prtg aws cloudwatch sensor is online

Once you have added the CloudWatch EC2 sensor as I have done here, you will see detailed statistics, including the CPU utilization, credit balance, network in, network out, disk read, disk write, and other helpful metrics.

Wrapping Up

The ability to Monitor AWS with PRTG CloudWatch Sensors allows businesses to add cloud monitoring to their existing PRTG infrastructure monitoring they are already doing on-premises. The ability to pull in your CloudWatch monitoring to PRTG is a great way to perform hybrid monitoring of both your on-premises and Amazon AWS environment. It allows having visibility on very crucial cloud metrics, including cost monitoring.

Check out PRTG over here for a free download and a free copy up to 100 sensors: PRTG Network Monitor » All-In-One Network Monitoring Software (paessler.com)

Post a Comment

0 Comments