No description
Find a file
2026-01-21 04:45:12 +00:00
static Initial commit - RMM System 2026-01-20 22:41:04 -06:00
templates Initial commit - RMM System 2026-01-20 22:41:04 -06:00
.gitignore Initial commit - RMM System 2026-01-20 22:41:04 -06:00
agent.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
agent_linux.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
agent_macos.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
agent_windows.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
app.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
clear_data.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
client_crypto.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
config.ini Initial commit - RMM System 2026-01-20 22:41:04 -06:00
main.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
models.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
populate_demo_data.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
README.md Update README.md 2026-01-21 04:45:12 +00:00
README_agents.md Initial commit - RMM System 2026-01-20 22:41:04 -06:00
requirements.txt Initial commit - RMM System 2026-01-20 22:41:04 -06:00
rmm-cap1.png Upload files to "/" 2026-01-21 04:42:16 +00:00
routes.py Initial commit - RMM System 2026-01-20 22:41:04 -06:00
run.bat Initial commit - RMM System 2026-01-20 22:41:04 -06:00
run.sh Initial commit - RMM System 2026-01-20 22:41:04 -06:00

RMM System

A Remote Monitoring and Management (RMM) system featuring a web-based dashboard and cross-platform monitoring agents. Enables centralized monitoring of multiple devices with real-time system metrics collection and visualization.

Features

  • Real-time Monitoring: Track CPU, memory, disk usage, and network statistics
  • Multi-device Support: Monitor multiple systems from a single dashboard
  • Automated Alerts: Threshold-based alerting for system performance issues
  • Cross-platform Agents: Python agents compatible with Windows, macOS, and Linux
  • Modern Dashboard: Responsive web interface with dark theme and live updates

System Architecture

Backend

  • Framework: Flask with SQLAlchemy ORM
  • Database: SQLite for data persistence
  • API: RESTful endpoints for agent communication

Frontend

  • Templates: Jinja2 with Bootstrap dark theme
  • Real-time Updates: HTMX for dynamic content
  • Charts: Chart.js for metrics visualization
  • Icons: Feather Icons

Agent

  • Type: Standalone Python script (agent.py)
  • Data Collection: psutil for system metrics
  • Communication: HTTP requests with configurable polling

Installation

Server Setup

  1. Install dependencies:
pip install flask flask-sqlalchemy psutil gunicorn
  1. Set environment variables:
export SESSION_SECRET="your-secret-key"
  1. Run the server:
gunicorn --bind 0.0.0.0:5000 main:app

Agent Setup

  1. Configure agent_config.ini with your server URL
  2. Run the agent:
python agent.py

Data Models

  • Device: Registered systems with hostname, platform, and status
  • DeviceMetric: Performance data (CPU, memory, disk, network)
  • Alert: System notifications and threshold alerts

Security

  • Flask session management with configurable secret keys
  • SQLAlchemy ORM for SQL injection protection
  • Device registration and identification system
  • Cryptographic client ID management

Dependencies

Python

  • Flask
  • SQLAlchemy
  • psutil
  • requests
  • cryptography
  • gunicorn

Frontend (CDN)

  • Bootstrap 5
  • HTMX
  • Chart.js
  • Feather Icons