Skip to main content

Posts

Showing posts with the label monitoring memory in aws

Monitor Memory and Disk Utilization on EC2 instances with Cloudwatch Custom metrics

As you know, in AWS we cannot monitor Hard Disk (Volume) and Memory (RAM) through CloudWatch but with few steps, we can monitor and set alarm on it according to our needs. So, in this post we will see, how can we accomplish that. Step1. Installation of dependencies (packages and binaries) in order to setup Memory and Disk utilization RHEL 7 sudo yum install perl-Switch perl-DateTime perl-Sys-Syslog perl-LWP-Protocol-https perl-Digest-SHA --enablerepo="rhui-REGION-rhel-server-optional" -y sudo yum install zip unzip -y Amazon Linux 2 and Amazon Linux AMI sudo yum install perl-Switch perl-DateTime perl-Sys-Syslog perl-LWP-Protocol-https perl-Digest-SHA.x86_64 -y  sudo yum install zip unzip -y SUSE Linux Enterprise Server sudo zypper install perl-Switch perl-DateTime sudo zypper install –y "perl(LWP::Protocol::https)" Debian Based Systems  sudo apt-get update sudo apt-get install unzip libwww-perl libdatetime-perl Step2. Download and configure the "Memory" and...