Giter Site home page Giter Site logo

bhyvex / static_status Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloudxtreme/static_status

0.0 1.0 0.0 57 KB

🚦Bash script to generate a static status page.

Home Page: https://cyclenerd.github.io/static_status_demo/

License: GNU General Public License v3.0

Shell 100.00%

static_status's Introduction

status.sh

Build Status

Simple Bash script to generate a static status page. Displays status of websites, services (HTTP, SAP, MySQL...) and ping. Everything easy to customize. 🤓

Screenshot

Installation

Download status.sh and configuration file:

$ curl -f https://raw.githubusercontent.com/Cyclenerd/static_status/master/status.sh -o status.sh
$ curl -f https://raw.githubusercontent.com/Cyclenerd/static_status/master/status_hostname_list.txt -o status_hostname_list.txt

Customize the status.sh script and the services to be monitored:

$ vi status.sh
$ vi status_hostname_list.txt

Run:

$ bash status.sh

Usage

Usage: status.sh [OPTION]:
	OPTION is one of the following:
		silent	 no output from faulty connections to stout (default: no)
		loud	 output from successful and faulty connections to stout (default: no)
		help	 displays help (this message)

Example:

$ bash status.sh loud

Execute a cron job every minute:

$ crontab -e

Add:

*/1 * * * * bash /path/to/status.sh silent >> /dev/null

Demo

https://cyclenerd.github.io/static_status_demo/

Screenshots

Screenshot Screenshot Screenshot Screenshot Screenshot

Requirements

Only bash, ping, curl and nc. In many *NIX distributions (Ubuntu, macOS) the commands are already included. If not, the missing packages can be installed quickly. On a debian-based system (Ubuntu), just run sudo apt-get install curl iputils-ping netcat-openbsd.

TODO

  • More and better documentation

Help is welcome 👍

License

GNU Public License version 3. Please feel free to fork and modify this on GitHub (https://github.com/Cyclenerd/static_shell).

static_status's People

Contributors

cyclenerd avatar acullmann avatar fbartels avatar

Watchers

James Cloos 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.