A smart Hub for holding server stat
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 ONE binary files is needed for all of this.
- Powered by Golang
- Only one binary files, collecting and displaying data
- Easy deploy, no depends, no database required
- SSL support, your domain support, secure and easy
You shall choose a server for master, and install it following the below
curl --insecure https://raw.githubusercontent.com/likexian/stathub-go/master/setup.sh | sh
wget --no-check-certificate -O - https://raw.githubusercontent.com/likexian/stathub-go/master/setup.sh | sh
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
Follow the guide
https://ip:15944/help
-
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 / {
proxy_pass https://127.0.0.1:15944;
proxy_set_header X-Real-IP $remote_addr;
}
- github.com/likexian/gokit
- github.com/likexian/host-stat-go
- github.com/likexian/simplejson-go
Copyright 2015-2019 Li Kexian
Licensed under the Apache License 2.0