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

Hostingviet 3G RAM 100Mbps Unlimited Bandwidth Vietnam KVM VPS Review

Details : Hostingviet: $4/month/1G memory/16GB SS...

binarylane: $30/month/2GB memory/1TB space/3TB bandwidth/KVM/Australia

Binarylane, an Australian hosting company, was fo...

GreenValueHost: $4.95/month/100GB space/1000GB traffic/10 sites

Introduction GreenValueHost is an American hostin...

IOFLOOD: $79/month/Dual L5639/48GB memory/18TB hard drive/20TB traffic/Phoenix

IOFLOOD, a long-established American hosting prov...

Rapid2: $36/month/i7-3770/16GB RAM/6TB hard drive/unlimited data/Germany

Rapid2, a European hosting provider, was establis...

fortacloud: $15/month/4GB memory/250GB space/unlimited traffic/Florida

fortacloud, I have introduced its free VPS before...

AliDns: Permanent free DNS cloud resolution service provided by Alibaba Cloud

This is an action taken by HiChina after it was a...

VaporNode 1 core dedicated 4GB memory SSD hard disk Tampa KVM VPS review

Details: Vapor Node: $3.14/month/1 core/4GB memor...

PraHost: €39/month/G850/8GB RAM/2TB HDD/100TB traffic/Netherlands

PraHost, a Dutch hosting provider, was founded in...

LayerOnline: $5/month/1GB RAM/20GB SSD space/unlimited traffic/1Gbps/KVM/Europe

LayerOnline, a Canadian business, was established...