Skip to content

yanfd/astrbot_plugin_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astrbot_plugin_server

AstrBot 服务器状态监控插件

License Python 3.8+ AstrBot

实时监控服务器资源使用情况,支持多平台运行,提供清晰的系统状态报告。

从Meg的文本式报告升级而来⬇️

USER

📦 安装

# 克隆仓库到插件目录
cd /AstrBot/data/plugins
git clone https://github.com/yanfd/astrbot_plugin_server.git

# 控制台重启AstrBot

🛠️ 功能特性

  • 图像化实时 CPU/内存/磁盘/网络监控

⌨️ 使用命令

基础命令

/状态查询  或  /status

示例输出:

📌 注意事项

  1. Linux 系统需安装基础工具:
sudo apt-get install procps sysstat jinja2 psutil jinja2 PIL requests matplotlib
#或者使用pip
pip install psutil jinja2 PIL requests matplotlib
  1. 首次使用需授予执行权限
  2. 推荐监控间隔 ≥ 60 秒

🤝 参与贡献

  1. Fork 本仓库
  2. 创建新分支 (git checkout -b feature/awesome-feature)
  3. 提交修改 (git commit -m 'Add some feature')
  4. 推送更改 (git push origin feature/awesome-feature)
  5. 创建 Pull Request

📜 开源协议

本项目采用 MIT License

About

针对AstrBot可视化的服务器状态查询插件,CPU/MEM/DISK时态查询

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages