/ServerMonitor

A server monitor tool.

Primary LanguagePython

Server Monitor

Python Django Flask

This project is to practice Python and shell skills.

demo:monitor.cattom.site

Directory Structure

.
├── env
│   ├── bin
│   ├── public_vassals  # uWSGI vassals of public panel
│   ├── main_vassals    # uWSGI vassals of main
│   └── ...
├── main.py
├── main_wsgi.py        # main wsgi entrypoint
├── manage.py
├── node_config.py
├── node.py
├── panel
│   ├── admin.py
│   ├── apps.py
│   ├── models.py
│   ├── urls.py
│   ├── views.py
│   ├── templates        # HTML file
│   └── ...
├── public
│   ├── settings.py      # Django config
│   ├── urls.py
│   ├── wsgi.py
│   └── ...
├── random_secret_key.py
├── README.md
├── requirements.txt
├── server_monitor       # install script
├── systemd              # systemd service file
│   ├── main.uwsgi.service
│   ├── node.monitor.service
│   └── public.uwsgi.service
└── uwsgi                # uwsgi config
    ├── main_uwsgi.ini
    ├── public_uwsgi.ini
    └── uwsgi_params

Install

cd /root && git clone https://github.com/cattomgithub/ServerMonitor.git
cd ServerMonitor && chmod +x server_monitor
./server_monitor