Rat's

ServerStatus Cool Chinese Cloud Probe
Introduction The Chinese version of ServerStatus is a cool and highly competitive cloud probe, cloud monitoring, server cloud monitoring, and multi server probe
Scan the QR code on the right to read the full text
twenty-eight
2016/12

ServerStatus Cool Chinese Cloud Probe

brief introduction

ServerStatus The Chinese version is a cool and highly competitive cloud probe, cloud monitoring, server cloud monitoring, and multi server probe. The cloud monitoring (cloud probe) is ServerStatus ( https://github.com/BotoX/ServerStatus )Chinese optimized version of the project.

Installation Tutorial

Project address: https://github.com/tenyue/ServerStatus
Online demonstration: https://tz.cloudcpp.com

Use the command:

 git clone  https://github.com/tenyue/ServerStatus.git

Server configuration (the server program is under ServerStatus/web)
1、 Generate server program

 cd ServerStatus/server make ./sergate

If there is no error prompt, OK ctrl+c close; If there is an error prompt, check thirty-five thousand six hundred and one Whether the port is occupied

2、 Modify Profile
modify config.json File, note username password The value of should be consistent with that of the client

 {"servers": [ { "username": "s01", "name": "Mainserver 1", "type": "Dedicated Server", "host": "GenericServerHost123", "location": "Austria", "password": "some-hard-to-guess-copy-paste-password" }, ] }

3、 Copy ServerStatus/status Go to your website directory
For example:

 sudo cp -r ServerStatus/web/* /home/wwwroot/default

4、 Running server
web-dir The parameter is the root directory of the website set in the previous step, and must be modified to the path of your own website

 ./sergate --config=config.json --web-dir=/home/wwwroot/default

Client configuration (the client program is under ServerStatus/clients)
There are two versions of the client, client-linux Normal linux client-psutil It is a cross platform version. The normal version is not successful. It can be replaced with a cross platform version.

1、 Client linux configuration:
1、 vim client-linux.py , Modify SERVER Address, username Account number, password password
2、 python client-linux.py Just run.

2、 Client psutil configuration:
1. Installation psutil Cross platform dependency library
2、 vim client-psutil.py , Modify SERVER Address, username Account number, password password
3、 python client-psutil.py Just run.

 #Centos sudo yum -y install epel-release sudo yum -y install python-pip sudo yum clean all sudo yum -y install gcc sudo yum -y install python-devel sudo pip install psutil #Ubuntu/Debian sudo root apt-get -y install python-setuptools python-dev build-essential apt-get -y install python-pip pip install psutil #Windows Open URL: https://pypi.python.org/pypi?:action=display&name=psutil#downloads Download the psutil for windows package Just install

Open the cloud probe page to monitor normally. Next, add the server and client scripts to the startup, or process daemon, or run in the background mode! For example: nohup python client-linux.py &

Vultr New user registration send one hundred USD/ sixteen Each computer room is charged by hour, and Alipay is supported【 Click to view 】。
Last modification: 09:14 PM, May 16, 2019

Comment