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

888u

Last update at :2024-02-03,Edit by888u

PHP Server Monitor, the PHP version of the online server monitoring project, supports ping, port, custom characters, etc., and can configure email, SMS notification, etc. PHP requires version 7.1, Mysql 5.6 is acceptable. Support Chinese.

Official website download: https://www.phpservermonitor.org/ Local backup: phpservermon-3.2.0

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

Periodic refresh:

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

By default, you need to log in to view. The following is a tutorial for setting up visitors to view monitoring information (reprinted 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 about 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 guest operable menu

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

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

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

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

Recommended site search: Taiwan host, Japanese server free website virtual host, rental host, free space in mainland China, US server protection, registration-free domain name, ip168, website IP address query overseas virtual host,

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

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