DevOps Classroomnotes 10/May/2023

Uptime Monitoring

  • For the overview of the setup
  • Lets create a linux machine and
    • install heart beat
    • configure heart beat to send metrics to elastic cloud
  • We will be configuring heart beat to check if the
    • apache server is alive
      bash
      sudo apt update
      sudo apt install apache2 -y
  • Heart beat installation:
  • Configuration:
    • All the elastic stack is generally installed and configuration files are stored in similar directories
    • config location: /etc/<prod-name>
    • install location: /usr/share/<prod-name>
  • Edit /etc/heartbeat/heartbeat.yml to add cloud id and auth
  • What has to be monitored
  • Configuration
  • Start heart beat: Refer Here
  • Now open kibana & navigate to uptime

  • To view th down status. stop the service and wait for the page to reload
  • Lets create an alert to send email about status of server

  • Exercise: Create an alert to check if the nop-app and nop-db is up or not.
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a comment

Turn on JavaScript to leave a comment.

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
Exit mobile version
%%footer%%