I will create a bash script disk space cpu memory usage and service status

A
ankit15588
A
ankit15588
Ankit

About this gig

I have developed a Bash script that monitors disk space, CPU usage, memory usage, and the status of any microservices you wish to monitor (with a threshold of 80%). The script is designed to run on multiple servers and will generate alerts, such as:

  • Disk Usage: NOK: /root 81%
  • Service Status: NOK: MySQL is stopped / OK: MySQL is running

It also generates a report in a CSV file. Additionally, if required, We can create a Python-based web dashboard using a Flask application for better visualization. The script is intended to run on a Linux server via crontab.

Get to know Ankit

Ankit
  • FromIndia
  • Member sinceOct 2024
  • Languages

    English, Hindi, Gujarati
I have 17+ Years of experience in Telecom Industries. I have developed a Bash script that monitors disk space, CPU usage, memory usage, and the status of any microservices you wish to monitor (with a threshold of 80%). The script is designed to run on multiple servers and will generate alerts, such as: Disk Usage: NOK: /root 81% & Service Status: NOK: MySQL is stopped / OK: MySQL is running It also generates a report in a CSV file.