Last update at :2024-02-23,Edit by888u
Many friends have been grabbing some popular VPSs before, such as the $49.99 package for the Bricklayer CN2 GIA line. It will be sold out within a few minutes of replenishment. Why are others grabbing it so quickly? On the one hand, some technology giants I can write some monitoring software, and some monitoring platforms. Today I will share with you a monitoring program called WebMonitor. It has a Chinese interface and supports XPath. With Server Sauce, you can directly send WeChat notifications, so that if the platform is available, we will immediately You can receive it on WeChat, and today I will share with you how to set it up.
1. Install docker compose and deploy WebMonitor
We installed it on the debian system. The webmaster's system is 10.3, which is just a test chicken. Centos can also be installed, just click Baidu.
Install docker and execute it line by line.
apt -y update apt -y install curl curl -sSL https://get.docker.com/ | sh systemctl start docker systemctl enable docker curl -L https://github.com/docker/compose/releases/download/1.25.4/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-composeCreate a new docker-compose.yml
mkdir -p /opt/webmonitor && cd /opt/webmonitor && nano docker-compose.ymlWrite the configuration, you can paste it directly, then press Ctrl+X to save and exit, you need to enter Y to confirm.
version: '3.5' services: webmonitor: image: logicjake/webmonitor container_name: webmonitor environment: -PORT=8000 -USERNAME=admin - PASSWORD=****** # Enter password ports: - 8000:8000 volumes: - ./data:/app/db restart: unless-stoppedThen it will be deployed in one click
docker-compose up -dOpen your deployed IP:8000 and you should see the following interface. Enter the username and password in your configuration file to log in.
2. Docking Server Sauce
First, register on Server: Click to register p>
After the registration is completed, bind WeChat, scan the QR code in the WeChat push, and then click [Check Result and Confirm] to complete the binding, and then click Send Information to get the calling code SCKEY.
Open the WebMonitor management interface, click Settings – Notification Method – Add, and then configure it as shown below
In this way, the connection between WebMonitor and Server Sauce is completed.
3. Use WebMonitor to monitor
We actually want to monitor changes in the web page. Click Task Management – Web Page Monitoring Management – Add Task, and set the frequency to 1 minute
What I am monitoring is the $49.99 package of the Bricklayer CN2 GIA line: https://bwh81.net/aff.php?aff=1119&pid=94
Some friends may not know how to find this Xpath. We first open the Bricklayer interface and you can find Out of Stock, which means it is out of stock. Then open the console with F12 and click on Out of Stock with the arrow circled in red. Then you will see that this line will be located in the code, and then copy the Xpath as shown below.
You can view running tasks in the task status. For the first time, you will receive a WeChat notification within 1 minute.
The tutorial ends here. Isn’t it very simple? Basically, the WC panel can be monitored.
Recommended site search: free registration, domain name registration information query ip proxy free version 2.80, free virtual host, vps for ip, free foreign server, Hong Kong server, free linux host, high defense US server,
发表评论