DevOps Classroomnotes 20/Sep/2023

Setting up heart beat for Servers and Applications

  • Lab Setup
  • Apache Server setup
sudo apt update
sudo apt install apache2 -y
sudo apt update
sudo apt install mysql-server -y
sudo systemctl status mysql.service
  • Lets install heart beat: Refer Here for the steps
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-8.x.list
sudo apt-get update && sudo apt-get install heartbeat-elastic -y
  • Elastic heartbeat folders/directories
    • Configuration files: /etc/heartbeat/
    • Installation folder: /usr/share/heartbeat/
  • The heartbeat.yml in the config folder of heart beat is the actual configuration used and heartbeat.reference.yml is sample to make us understand how to use heartbeat.yml, Refer Here for the default files which are installed in /etc/heartbeat
  • Monitoring types supported in heart beat Refer Here
  • Common options: Refer Here
  • Refer Here for yaml reference
  • Refer Here for the changes added to fetch http,icmp and tecp requests
  • Next Steps: We need to configure heartbeat to connect to elastic cloud and start monitoring
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%