DevOps Classroomnotes 10/May/2023

Uptime Monitoring

  • For the overview of the setup
    Preview
  • 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
    Preview
  • Start heart beat: Refer Here
    Preview
  • Now open kibana & navigate to uptime
    Preview
    Preview
  • To view th down status. stop the service and wait for the page to reload
    Preview
  • Lets create an alert to send email about status of server
    Preview
    Preview
  • 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 Reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

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

Continue reading

Visit Us On FacebookVisit Us On LinkedinVisit Us On Youtube