Use Stat Hub tool to build your own VPS server monitoring list

888u

Last update at :2024-06-14,Edit by888u

If we need it for an actual project, it is recommended that we use more mature third-party website and server monitoring tools. If we want to toy with the functions of various tools to show off the projects we are involved in and how rich the knowledge we are exposed to, you can see Install and play with some good personal development tools. Although I don’t say how much ability you can develop and improve, you can still gain some insights. At least when you brag, you can tell things that others may not have seen.

At the end of last month, Snail had played with the application of the "Using StatusPage free open source program to build a website/host monitoring list process by yourself" tool. The only shortcoming was that it required API calls from third-party monitoring tools. , Secondly, the data called is only the percentage data of UPTIME, and the CPU, memory, hard disk, IO and other data are basically invisible.

On that day, netizen @ scholar classmate told Stat Hub that this tool displays a lot of information, including CPU, IO, memory, hard disk, etc., at least it looks richer. Why don’t you take some time to play with this tool now? The ones developed by Chinese people have been published on GITHUB.

First, Stat Hub tool introduction, installation and deployment

Stat Hub is a monitoring tool written in GO language that can be used to collect server information. It needs to be deployed on a separate VPS and server (client) (one-click package deployment), and then based on the deployment The one-click installation package provided by the environment can display all the list information on the client by executing the command on the server we need to monitor.

For the client server used to install the Stat Hub tool, no environment is required. Just find a suitable CENTOS or DEBIAN distribution, and then execute the command to install.

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

Execute the command to install.

Seeing the picture above means that the client is installed and we can log in directly at https://client IP address:15944. Because self-signed HTTPS is used, the IP needs to be trusted. The default login password is likexian, which can be modified when we log in to the backend.

Second, Stat Hub displays monitoring information and adds multiple monitoring IPs

We can see that there is one in the deployment list that monitors the current VPS, and one that I added. You can see the load, UPTIME online time, CPU, memory, IO and other information, which is better than the information displayed by the previous StatusPage tool. It is much richer.

If we need to add multiple monitoring servers, we can click HELP in the upper right corner.

Select one of the commands to execute the command installation in the VPS that needs to be monitored, and then refresh the client list after a while to see it added.

Third, summary of Stat Hub tool monitoring

From a functional point of view, Stat Hub is quite rich and can be used as a lightweight monitoring tool. However, if it is really used to monitor sites or servers, it is better to use third-party monitoring tools because Stat Hub Hub also requires us to log in to the list before we can see the data. It does not support alarm feedback mode, such as email, mobile phone text messages, etc., but it can be used for fun.

Recommended site searches: rent a server, Wanwang domain name registration official website, foreign php space, US server rental, mainland China bgp cloud host, US php space, Hong Kong virtual host space, virtual host rental, multi-ip station group server, Website filing,

Use Stat Hub tool to build your own VPS server monitoring list

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码