ServMon

module
v0.0.0-...-2a31ee1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2025 License: MIT

README ΒΆ

🌐 ServMon

ServMon is a powerful application designed to collect and display server statistics for user-inputted servers. Built with the Gin framework, it provides a sleek web interface to visualize key performance metrics.

πŸ“Š Features

  • Real-time Monitoring: Collects and displays server statistics.
  • Data Visualization: Utilizes the Gin framework for a modern web interface.
  • Performance Metrics: Stores average RAM, CPU, and memory usage.
  • Custom Timeframes: View statistics for the last hour, last 12 hours, and last 24 hours.

πŸ“Έ Screenshots

Web Interface

Web Interface

Console Start

Console Start

βš™οΈ Installation

To successfully install and set up the project, follow the steps below.

Requirements
  • PostgreSQL (can be installed via Docker or native on a Linux server)
  • Golang version 1.22.5 or higher
  • Tmux for managing terminal sessions
Launch Steps
  1. Open your terminal and create a new Tmux session with the command:
tmux new -s namesession
  1. Next, clone the repository and navigate to the project directory:
git clone https://github.com/Wefdzen/ServMon.git
cd ServMon
  1. Run the application:
go run cmd/app/main.go
  1. Once the server is set up, you can detach from the Tmux session by pressing:

Ctrl + b, then d (default Tmux prefix).

Congratulations! πŸŽ‰ Your ServMon is now up and running. You can reattach to the session anytime with:

tmux attach -t namesession

To view your server information, open your browser and navigate to:

http://<YourServerIP>:8080/test/1/1

πŸ“ License

MIT License

Copyright (c) 2025 Wefdzen

πŸ’¬ Contact

For questions or feedback, feel free to reach out!

Directories ΒΆ

Path Synopsis
cmd
app command
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL