Coder Social home page Coder Social logo

marek-guran / linux-server-info Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 2.0 27.51 MB

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: MIT License

Python 6.64% Kotlin 41.45% Shell 4.42% C# 14.55% Dockerfile 0.84% HTML 18.41% CSS 13.42% JavaScript 0.28%
android-application linux monitoring android android-apps android-tv android-tv-application chromebook monitoring-api tools

linux-server-info's Introduction

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

linux-server-info's People

Contributors

marek-guran avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.