๐ Part 1/2 Monitoring your AWS environment with PRTG
Nice to have you here again, this time for part 2 of our article series AWS Monitoring with Paessler PRTG. In part 1 I gave you a detailed overview of all AWS sensor types available in Paessler PRTG. With this set of sensors, you can monitor almost any common use case in Amazon Web Services easily.
In this article, you'll get hands-on experience. You will learn how to use the AWS sensor types in PRTG, where to include them, and what to configure to make everything work.
To help you follow along, I'll include screenshots whenever possible.
If you are not yet familiar with our current AWS sensor types in PRTG, I recommend you take a brief look at the first part of the series: Monitoring your AWS environment with PRTG - Part 1/2
Otherwise, let's not waste any time; let's get started!
You will need the following items to get through this hands-on guide safely and end up with a working AWS monitoring system:
OK, everything prepared? Then log into PRTG and we'll start with the configuration. This is going to be fun! ๐คฉ
I always recommend that you set up a device group. This is not mandatory, but it makes it much easier for you to store your credentials there so they can be inherited by devices below in your PRTG device tree. You can also define special settings within the device group, which then only explicitly affect your AWS sensors.
This is what it might look like:
All our AWS sensors in PRTG query data from the AWS API. To make this work, PRTG needs permissions in your AWS environment. Find all necessary configuration steps in our knowledge base article How do I set permissions for the Amazon Web Services (AWS) API key to use certain sensors in PRTG?.
Work through that guide step by step, and at the end you will have an access key and a secret key in your hands.
๐ In case you have set up access for PRTG in AWS before, you should already have the keys at hand. Then you don't need to configure anything else in AWS.
Now you can store the access key and the secret key in the settings of the device group. Insert the data and click "Save" to store the keys.
The next step is to add a device in PRTG. I usually do this by creating devices below my "AWS Environment" device group with the name of the service I intend to monitor. If I want to monitor the Amazon Elastic Compute Cloud service, my device in this case is called AWS EC2.
For the sake of clarity, I create a separate device for each service.
As DNS name, you can simply use localhost.
Now you're ready to go. You can now add all the sensors you need to monitor your desired AWS services. As a reminder, the following AWS sensor types are currently available in PRTG:
At this point in time, one or more of the AWS sensors are still in a Beta state. Since PRTG version 21.1.65, you can enable the Experimental Features setting โBeta Sensorsโ. This makes it possible for you to try out upcoming features fresh from our labs and to provide us early feedback. To learn more about our Experimental Features setting, check out our article New handling of beta sensors in PRTG Network Monitor.
To add sensors, click the "Add Sensor" button. After searching for 'aws v2', the screenshot shows the search result.
I'll just stick with my example and add an AWS EC2 v2 sensor.
๐ If you get an error or PRTG does not start to prepare the sensor settings, you probably did not set the access key or secret key correctly. In this case, just have a look at the paragraph Set AWS permissions for PRTG in this hands-on guide.
If the stored credentials are correct, you are asked to select the instance IDs you want to monitor as seen in the screenshot below. Confirm your selection with the Create button.
That's it, you're all set! The sensor starts collecting data now, and you can see detailed statistics. In our example with the AWS EC2 sensor, it looks like this:
You can now repeat the sensor setup for any other AWS services you would like to monitor.
If you have any questions or need assistance, our support team is happy to help โค๏ธ. The best way to do this is to use the Contact Support button in the software. We also have a lot of other helpful support resources, just have a look here:
If you're already using PRTG, you're probably already trying it out, or you've been following along with my various steps.
If you don't use PRTG yet, I have good news for you: You can start right now with a free trial version with full functionality. You can choose whether you want to install PRTG on your server or directly use our cloud-based hosted version.
๐ฅ Paessler PRTG Network Monitor: More details + free download
โ๏ธ Paessler PRTG Hosted Monitor (the cloud one): More details + start free trial
I haven't shared much hands-on content with you lately. Would you like to see guides like this more often? If you enjoyed it, leave a comment below.
Feel free to also add what topic you'd like to read more about. You wish, I write! ๐