Skip to content

A very light weight Linux Machine/Server monitoring tool that allows you to... monitor your machine by Android App. And without need of running it as sudo... Once configured. Android App supports also: Chromebooks, Android TVs. Not just tablets and smartphones! We have also WEB GUi alternative to Android App!

License

Notifications You must be signed in to change notification settings

marek-guran/linux-server-info

Repository files navigation

Server Info App GitHub Releases

Monitor your server with this resources light python script without root priviges.

After successful setup, you are able to monitor your server or anything what is running Debian based Linux by Android App, which is compatible with all Android 6+ devices including Chromebooks and Android TV. Or use WEB GUi that comes with this repository.

If you want to save JSON file in RAM, choose second branch

WEB GUI Images

Light Mode

Snímka obrazovky (133) Snímka obrazovky (134) Snímka obrazovky (135)

Dark Mode

Snímka obrazovky (136) Snímka obrazovky (137) Snímka obrazovky (138)

System and CPU Detection

Snímka obrazovky (139) Snímka obrazovky (140) Snímka obrazovky (141)

Automatic Installation (web server in docker by default uses port 9002)

Full Install

curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Full%20Install.sh | bash

Dependencies + Service

curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Dependencies%20%2B%20Service.sh | bash

Dependencies Only

curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Dependencies%20Only.sh | bash

Full Uninstall

curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Full%20Uninstall.sh | bash

Uninstall Service

curl -sSL https://raw.githubusercontent.com/marek-guran/linux-server-info/main/Installation/Uninstall%20Service.sh | bash
Option Docker + WEB Gui Dependencies Service Requirements.txt
Full Install
Dependencies + Service
Dependencies only

Web server will use /home/user/server-info/ directory to publish json file for app and will be on port 9002. Will be used WEB GUi container and docker.io package. You will be able to access it at: http://device-ip:9002/ and api for Android App at: http://device-ip:9002/api

Option Docker Service WEB GUi Linux Server Info Folder
Full Uninstall
Uninstall Service

You can uninstall docker.io by sudo apt remove docker.io -y. It is not removed automatically, since docker is used by many people.

Updating

Updating is simple manual process. Just download and replace the python file and requirements.txt (By default these files are saved in your home directory in linux-server-info folder). And run commands: sudo pip3 install -r requirements.txt && sudo systemctl restart server-info

Instalation (manual)

Download the requirements.txt, then execute commands: sudo apt-get update && sudo apt-get install -y python3 python3-pip lsb-release util-linux ifstat && sudo pip3 install -r requirements.txt

Download the python file

Edit it for your paths (file output should be location of your web server www file location. You can use for example httpd as a web server.

Download service file (if you want it to run as a service)

There just change your file locations and start it with: sudo systemctl start server-info and if you want it to start on each boot, use command: sudo systemctl enable server-info

Download app

You can download it from releases section or by Google Play Store. Once installed, head to settings and put there your web server address with full path to file. For example: http://10.0.1.1:9002/api

About

A very light weight Linux Machine/Server monitoring tool that allows you to... monitor your machine by Android App. And without need of running it as sudo... Once configured. Android App supports also: Chromebooks, Android TVs. Not just tablets and smartphones! We have also WEB GUi alternative to Android App!

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks