Code Monkey home page Code Monkey logo

stathub-go's Introduction

Stat Hub

A smart Hub for holding server stat

Build Status

中文说明 | English README

Overview

Stat Hub is a service for collecting and displaying servers stat.

Stat Hub have two parts, one is the SERVER for recving, storing and displaying stat, the other is the CLIENT for collecting and sending stat to SERVER. Just two binary files is needed for all of this.

DEMO

demo

Feature

  • Powered by Go lang
  • Only two binary files, doing and displaying data
  • Easy deploy, no depends, no database required
  • SSL support, your domain support, secure and easy

Install

You shall choose a server for master, and install it following the below

Linux via curl

curl --insecure https://raw.githubusercontent.com/likexian/stathub-go/master/setup.sh | sh

Linux via wget

wget --no-check-certificate -O - https://raw.githubusercontent.com/likexian/stathub-go/master/setup.sh | sh

Open on your PC browser

For most systems, it will install and start after this, now you can view it via your PC browser.

The default url is

https://ip:15944

Then enter the default password: likexian

Add a CLIENT (node)

Follow the guide

https://ip:15944/help

FAQ

  • A client added, but no list on the page ?

    Please refer to the client.log on the node, it may show what is wrong.

  • Can I use my domain instead of the https://ip:15944 ?

    Yes, please add an A record on your dns server for one subdomain, then using https://subdomain.yourdomain:15944 .

  • Can I use https for visist ?

    Sure, it is SSL by default, using self-signed cert.

  • Cal I use my SSL cert, not the self-signed one ?

    Yes, please replace the cert in the cert dir, and it strong recommend that doing this.

  • Can I deploy it with my nginx ?

Sure, please add the folling config to nginx conf file.

location /stathub/ {
    proxy_pass https://127.0.0.1:15944;
    proxy_set_header X-Real-IP $remote_addr;
}

LICENSE

Copyright 2015, Li Kexian

Apache License, Version 2.0

About

Thanks

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.