Change the log collection interval and configure sysstat to report disk and inodes usage by adding -S XALL in the configuration file: sudo sed -i 's/^INTERVAL=600.*/INTERVAL=60/' /usr/share/atop/atop.dailyĢ. Sudo systemctl restart rvice rvice rviceĢ. Enable and restart services: sudo sed -i 's|ENABLED="false"|ENABLED="true"|' /etc/default/sysstat Sudo bash -c "echo 'SA1_OPTIONS=\"-S XALL\"' > /etc/default/sysstat"ģ. Change the log collection interval and configure sysstat to report disk and inodes usage by adding -S XALL in the configuration file: sudo sed -i 's/^LOGINTERVAL=600.*/LOGINTERVAL=60/' /usr/share/atop/atop.daily Install the monitoring tools: sudo apt-get updateĢ. Enable and restart services: for _service in atop crond sysstat do sudo chkconfig $ start done Ubuntuġ. sudo yum -y install sysstat atop -enablerepo=epel sudo sed -i 's/^INTERVAL=600.*/INTERVAL=60/' /etc/sysconfig/atopĢ. Note: Amazon Linux already has the EPEL repository installed. Sudo systemctl restart rvice rvice rvice Amazon Linux AMI Enable and restart services: sudo systemctl enable rvice rvice rvice Change the log collection interval: sudo sed -i 's/^LOGINTERVAL=600.*/LOGINTERVAL=60/' /etc/sysconfig/atop Install the monitoring tools: sudo yum -y install sysstat atop -enablerepo=epelģ. Install the EPEL release package for RHEL 7 using the amazon-linux-extras command: sudo amazon-linux-extras install epelĢ. You can reconfigure the interval from the default value to 1 minute intervals to collect more granular data. Enabling ATOP and SAR monitoring provides a more granular view into the instance's process utilization with a 30-day retention history.īy default, ATOP and SAR monitoring tools collect metrics in 10-minutes intervals. You can install these monitoring tools on Amazon Linux, RHEL, CentOS, or Ubuntu Linux-based distributions. ATOP and SAR monitoring tools aren't configured on standard Amazon Machine Images (AMIs).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |