Skip to content

drzewkopl/Prometheus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus

Remote Administration and Monitoring Platform

Dashboard

License Status

Prometheus is a remote administration and monitoring system consisting of:

  • A web dashboard (frontend)
  • A FastAPI backend server
  • A lightweight Python agent that runs on monitored nodes

It enables node registration, system monitoring, and command dispatch via WebSockets.


Features

  • Real-time monitoring via WebSockets
  • Centralized dashboard
  • Agent-based node management
  • FastAPI backend
  • Local development support

Requirements

  • Node.js
  • Python 3.9+
  • npm
  • pip

Install dependencies:

npm install
pip3 install -r requirements.txt

Running the Development Environment

Start Frontend

npm run dev

Frontend available at:
http://localhost:8080


Start Server

export SECRET_KEY="super-secret-default-key-please-change-me"
python3 -m uvicorn server.main:app --host 0.0.0.0 --port 8000

Authentication

  1. Open http://localhost:8080
  2. Register with email and password
  3. Log in to access the dashboard

Start Agent

SERVER_URL="ws://localhost:8000/ws" python3 agent/agent.py

One-Command Startup

sh ./startdev.sh

Project Structure

server/

FastAPI REST API and WebSocket server.

agent/

Python agent running on monitored nodes.


License

This project is licensed under the MIT License.
See the LICENSE file for details.


Author

Made with 🤍 by Adam Moczydlowski
GitHub: https://github.com/drzewkopl

About

Prometheus - Remote Administration and Monitoring Platform

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published