Giter Club home page Giter Club logo

shc's Introduction

shc

shc is now a fully fletched organization

new repository --> shc

this repository is no longer being maintained!



shc | ServerHealthCheck

made-with-bash License: GPL v3 GitHub contributors GitHub version

Now with dark-theme!


Installation

Clone this git-repo:

git clone https://github.com/junglert/shc.git

Go into the shc folder

cd shc/

Execute the init.sh by typing

bash init.sh

You will be asked to type in your sudo password, because the index.php file needs to be moved into /srv/www/htdocs (default apache folder location)

The script now prepares everything.

Future updates

  • More services

  • More system information

  • Wiki / Manual

  • Docker

shc's People

Contributors

doctorcr4nk avatar junglert avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

shc's Issues

Check for English or German

Please let the CPU script check if the system language is English or German.

Maybe more languages in the future

better compatibility for different OS Versions

The Installer uses the file '/etc/os-release' to determine which OS is currently running on the Host.
Therefore the Value of 'PRETTY_NAME' is read from the File.

I would suggest using the value 'ID_LIKE' instead, as it just provides the distribution instead of the specific OS version.
For example, openSUSE Leap 15.1 is supportet but openSUSE Leap 15.2 isn´t.

Please add SSL

Can you please add support for ssl.
Either by automatic creation of a self signed or lets enrypt signed cert or importing an already existing one.

Thanks

Ubuntu 20.04 not supported

I tried to install SHC on my fresh install of Ubuntu 20.04.1 LTS and got following Error:
E: Unable to locate package apache2-mod_php7
Failed to enable unit: Unit file apache2.service does not exist.
sudo: a2enmod: command not found

But in the end it still "succeded"
Connect to 192.168.0.142 via your webbrowser

No need to say that it didn´t work.

Init-sh check

Init-sh checks if apache module is already installed or not

Some scripts dont return value in Leap15.2

I tried the SHC on my openSUSE Leap15.2 Kernel 5.3.18-lp152.36-default and didnt get CPU Temp or correct Disk Usage

CPU Temperatur | °C
Disk Usage | GB of GB
Disk Usage in Percent | 68 %

adding CPU

New script and overlay display showing the CPU of the host

Using default apache index.html instead of new index.php

I just installed SHC on my RPI but I didnt got the website working, so i checked logs and directories and found out that in /var/www/html there was an index.html and index.php. I renamed the index.html to foo.html and it worked.

OS: Raspbian GNU/Linux 10 (buster)

Disk Usage

Please add a overview of the current disk usage to the site

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.