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
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
Like this:
Like Loading...