Skip to content

ErrayAbdellah/SysMonitor-Pro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SysMonitor Pro - System Administration & Monitoring Tool

Description

SysMonitor Pro is a comprehensive and modular system administration tool written in Bash script. It is designed to automate the monitoring and reporting of a Linux server's health, covering key metrics such as system resources, process management, service status, and network connectivity.

This tool is built with a modular architecture, making it easy to extend and configure, following DevOps best practices for automation and Infrastructure as Code.

Features (Fonctionnalités)

  • System Resource Monitoring: Tracks CPU, Memory (RAM), and Disk Space usage against configurable thresholds.
  • Advanced Process Management: Identifies top resource-consuming processes and detects zombie processes.
  • System Service Monitoring: Checks the status of critical system services like ssh, cron, and systemd-networkd.
  • Network Connectivity Checks: Verifies external internet connectivity and monitors the status of network interfaces.
  • Automated HTML Reporting: Generates a clean and readable HTML report with a summary of the system's status after each run.
  • Structured Logging: All actions and alerts are logged to a file with different severity levels (INFO, CRITICAL, ERROR).

Prerequisites (Prérequis)

Before running the script, ensure the following tools are installed on your Ubuntu/Debian-based system:

sudo apt-get update
sudo apt-get install -y bc dos2unix

Installation (Installation)

  1. Clone the repository to your local machine (or simply place the project folder).
    git clone [your-repository-url]
  2. Navigate to the project directory:
    cd SysMonitor-Pro
  3. Make the main script executable:
    chmod +x main.sh

Usage (Utilisation)

To run the monitoring script, simply execute main.sh from within the SysMonitor-Pro directory:

./main.sh

Output (Résultats)

After execution, the script will produce:

  1. Console Output: Real-time logs will be displayed on the terminal.
  2. Log File: A detailed log file will be updated at logs/sysmonitor.log.
  3. HTML Report: A new system health report will be generated in the reports/ directory, named system_report_YYYYMMDD_HHMMSS.html.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages