Skip to content
/ servstat Public
forked from djosix/servstat

Monitoring CPU, memory, and GPU usage of multiple servers.

Notifications You must be signed in to change notification settings

HuJK/servstat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ServStat

Monitoring CPU, memory, and GPU usage of multiple servers.

Demo Image

Running backend

Use root as example:

cd /etc
git clone https://github.com/HuJK/servstat.git servstat
cd servstat/backend

python3 -m pip install -r requirements.txt

Simply run the API server:

python3 main.py --host=0.0.0.0 --port=9989

Or manage this service with systemd, so that it will always start after rebooting:

cd /etc
git clone https://github.com/HuJK/servstat.git servstat
cd servstat/backend
bash install.sh

Building frontend

git clone https://github.com/HuJK/servstat.git servstat
cd servstat/frontend

npm install
npm run build

Edit dist/config.json

{
    "interval": 10000,
    "links": [
        ["Server 01","https://api.server01.example.com:9989/api", "https://url.server01.example.com"] ,
        ["Server 02","https://api.server02.example.com:9989/api"]
    ]
}

Serve the dist/ folder using a web server, for example:

# Copy files to document root of your web server
cp -r dist/* /var/www/html/

About

Monitoring CPU, memory, and GPU usage of multiple servers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 66.2%
  • Python 26.9%
  • TypeScript 2.6%
  • Pug 2.1%
  • Shell 1.7%
  • Less 0.5%