PHP Server Monitor: Online server monitoring, supports ping, port, custom characters, etc.

PHP Server Monitor: Online server monitoring, supports ping, port, custom characters, etc.

PHP Server Monitor, an online server monitoring project for PHP, supports ping, port, custom characters, etc., and can configure email and SMS notifications, etc. PHP version 7.1 is required, MySQL version 5.6 is acceptable. Support Chinese.

Download from official website: https://www.phpservermonitor.org/
Local backup: phpservermon-3.2.0

Demo: https://ping.zhujiwiki.com/?login=123

Scheduled refresh:

 php /www/wwwroot/ping.zhujiwiki.com/cron/status.cron.php

By default, you need to log in to view it. Here is a tutorial on setting up visitors to view monitoring information (from: https://www.cheshirex.com/2423.html):

1. Create a new user with the permissions of a normal user, such as 123

2. Modify the \src\psm\Service\User.php file

At around line 98, add the following code after $this->session = $session;

 global $_GET;
  if ($_GET["kl"] == "test"){
     $user_id = 2;
     $this->setUserLoggedIn($user_id, true);
     $user = $this->getUser($user_id);
     $this->newRememberMeCookie();
  }

3. Delete the visitor-accessible menu

Edit the file \psm\Module\AbstractController.php, and change line 274 to

 $items = array('server_status', 'server_log');

In this way, visitors can only see the monitoring items and logs, and cannot operate other settings.

4. Modify the file /src/templates/default/main/menu.tpl.html and delete

<<:  Cloudtaro 1 core @ AMD Ryzen™ 9 5900X 512MB memory 10Gbps bandwidth Los Angeles Cera Unicom 4387 KVM VPS review

>>:  VPS Players: 198 yuan/year/AMD R9-3950x/512MB memory/10GB NVMe space/500GB traffic/2Gbps port/KVM/Los Angeles Cera/China Unicom backhaul

Recommend

StableHost: $5/month/1GB memory/40GB space/2TB traffic/KVM/Phoenix/Netherlands

StableHost, a US hosting provider, offers a 30% d...

OneProvider 512MB RAM 1Gbps Bandwidth Hong Kong KVM VPS Review

OneProvider, Hong Kong VPS has newly added 203.23...

Impact: $12/year/512MB/10GB SSD/500GB bandwidth/OpenVZ/Seattle

Impact, introduced several times, is a stable mer...

66 Cloud 1GB RAM 50Mbps Port Hong Kong PCCW/NTT KVM VPS Review

Details : Liuliu Cloud: 28 yuan/month/1GB memory/...

HostMyBytes: $18/year/1GB memory/30GB space/3TB traffic/2 IP/OpenVZ/Los Angeles

HostMyBytes has several special ovz vps, as follo...

GreenCloudVPS 2GB RAM 500MBPS Bandwidth Hong Kong Direct KVM VPS Review

Details : GreenCloudVPS: $7/month/2GB RAM/30GB SS...

Ramnode OpenVZ VPS Simple Review (128M Seattle)

Ramnode is a good hosting provider. The VPS it pr...