• This repository has been archived on 22/Aug/2019
  • Stars
    star
    101
  • Rank 328,860 (Top 7 %)
  • Language
    C
  • Created about 7 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

云探针、多服务器探针、云监控、多服务器云监控

ServerStatus-V

ServerStatus-V 是一个酷炫高逼格的云探针、云监控、服务器云监控、多服务器探针。使用方便,信息直观。ServerStatus-V 是 ServerStatus 中文版 项目的优化/修改版。

ServerStatus-V 通过 vnStat 获取月流量数据,如未安装流量数据不会显示。vnStat 安装教程

image

目录介绍

  • clients 客户端文件
  • server 服务端文件
  • web 网站文件
  • init.d 服务脚本

安装教程

执行下面的代码下载并运行脚本,如果脚本有更新,也可使用下面的命令来更新。

wget -N --no-check-certificate https://raw.githubusercontent.com/P3TERX/ServerStatus-V/master/status.sh && chmod +x status.sh && bash status.sh

下载脚本后,根据需要安装客户端或者服务端:

# 客户端菜单
bash status.sh c
 
# 服务端菜单
bash status.sh s

运行脚本后会出现脚本操作菜单,选择并输入1就会开始安装。

简单步骤

首先安装服务端,安装过程中会提示:

是否由脚本自动配置HTTP服务(服务端的在线监控网站)[Y/n]
 
# 如果你不懂,那就直接回车,如果你想用其他的HTTP服务自己配置,那么请输入 n 并回车。
# 注意,当你曾经安装过 服务端,同时没有卸载Caddy(HTTP服务),那么重新安装服务端的时候,请输入 n 并回车。

然后 添加或修改 初始示例的节点配置,注意用户名每个节点配置都不能重复,其他的参数都无所谓了。

然后安装客户端,根据提示填写 服务端的IP 和前面添加/修改 对应的 节点用户名和密码(用于和服务端验证),然后启动就好了,有问题请贴出 详细步骤+日志(如果有)联系我。

使用说明

进入下载脚本的目录并运行脚本:

# 客户端管理菜单
./status.sh c
# 服务端管理菜单
./status.sh s

然后选择你要执行的选项即可。

ServerStatus-V 安装&管理脚本 [v1.3.1]
https://github.com/P3TERX/ServerStatus-V

 0. 切换到 服务端菜单
——————————————
 1. 安装 客户端
 2. 卸载 客户端
——————————————
 3. 启动 客户端
 4. 停止 客户端
 5. 重启 客户端
——————————————
 6. 设置 客户端配置
 7. 查看 客户端信息
 8. 查看 客户端日志
——————————————
 9. 更新脚本

 当前状态: 客户端 未安装

 请输入数字 [0-9]:

其他操作

客户端

启动:service status-client start

停止:service status-client stop

重启:service status-client restart

查看状态:service status-client status

查看客户端日志:tail -f tmp/serverstatus_client.log

服务端

启动:service status-server start

停止:service status-server stop

重启:service status-server restart

查看状态:service status-server status

查看服务端日志:tail -f /tmp/serverstatus_server.log

Caddy(HTTP服务)

启动:service caddy start

停止:service caddy stop

重启:service caddy restart

查看状态:service caddy status

Caddy配置文件:/usr/local/caddy/caddy

默认脚本只能一开始安装的时候设置配置文件。Caddy的使用方法,可以参考官方手册

目录

安装目录:/usr/local/ServerStatus

网页文件:/usr/local/ServerStatus/web

配置文件:/usr/local/ServerStatus/server/config.json

其他说明

实时网速单位为:G=GB/s,M=MB/s,K=KB/s

流量单位为:T=TB,G=GB,M=MB,K=KB

相关开源项目,感谢:

More Repositories

1

Actions-OpenWrt

A template for building OpenWrt with GitHub Actions | 使用 GitHub Actions 在线云编译 OpenWrt 固件
Shell
6,919
star
2

warp.sh

Cloudflare WARP Installer | WARP 一键安装脚本
Shell
3,571
star
3

aria2.conf

Aria2 配置文件 | OneDrive & Google Drvive 离线下载 | 百度网盘转存
Shell
3,079
star
4

Aria2-Pro-Docker

Aria2 Pro | A perfect Aria2 Docker image | 更好用的 Aria2 Docker 容器镜像
Dockerfile
2,919
star
5

aria2.sh

Aria2 一键安装管理脚本 增强版
Shell
2,789
star
6

GeoLite.mmdb

MaxMind's GeoIP2 GeoLite2 Country, City, and ASN databases
1,518
star
7

Aria2-Pro-Core

Aria2 static binaries for GNU/Linux with some powerful feature patches. | 破解无限线程 防掉线程优化 静态编译 二进制文件 增强版
Shell
367
star
8

IBM-CF-V2

Use GitHub Actions to automatically deploy the latest version of V2Ray to IBM Cloud Foundry
206
star
9

OpenWrt-Newifi_D2

Shell
136
star
10

openwrt-build-env

OpenWrt build environment in docker | Docker 中的 OpenWrt 编译环境
Dockerfile
104
star
11

ssh2actions

Connect to GitHub Actions VM via SSH for interactive debugging
Shell
84
star
12

wireguard-go-builder

Compiling the wireguard-go binary from source. With this binary, users are able to create WireGuard sessions without installing the kernel module.
Shell
66
star
13

SSH_Key_Installer

Install SSH keys via GitHub, URL or local files
Shell
65
star
14

script

Some shell script
Shell
54
star
15

ActionsVM

Connect to GitHub Actions via SSH, get macOS or Linux VM for free.
Shell
40
star
16

unraid-docker-templates

Templates for adding containers to UNRAID via more GUI-friendly way and allowing easier updates in the future.
26
star
17

goindex_backup

Google Drive Directory Index backup
JavaScript
17
star
18

doubi_backup

Shell
11
star
19

openwrt-list

10
star
20

P3TERX

8
star
21

BestTrace

Shell
5
star
22

ca-certificates.crt

Make ca-certificates.crt daily via GitHub Actions
Shell
5
star
23

termux.sh

Shell
4
star
24

ariang

3
star
25

ubuntu-plus

Ubuntu image with some extra packages
Dockerfile
3
star
26

Gitpod-OpenWrt

OpenWrt build environment in Gitpod
Dockerfile
2
star