Installing and Configuring Monitoring Scripts for Amazon EC2 Instances

Length: 00:16:50

Lesson Summary:

By default, only certain metrics cover EC2 instances (host based metrics). However, at times we may want to monitor certain aspects of our operating system. EC2 provides scripts that we can install on the system to achieve this. In this lesson we are going to learn how to configure those scripts and ensure our EC2 instances have permissions to communicate with Amazon CloudWatch to put the metrics data into CloudWatch.

Commands used in this lesson:

sudo yum install perl-Switch perl-DateTime perl-Sys-Syslog perl-LWP-Protocol-https

curl -O


./ --mem-util --mem-used --mem-avail --swap-util --swap-used --disk-space-util --disk-space-used --disk-space-avail --memory-units=megabytes --disk-space-units=gigabytes --disk-path=/dev/xvda1

This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More