返回目录
开源项目其他开源工具类新手

监控平台/phoenix: “phoenix”是一个灵活可配置的开源监控平台,主要用于监控应用程序、服务器、网络设备、docker、数据库、网络、tcp端口和http接口,在发现异常时实时推送告警信息,并且提供了可视化系统进行配置、管理、查看。

phoenix: “phoenix”是一个灵活可配置的开源监控平台,主要用于监控应用程序、服务器、网络设备、docker、数据库、网络、tcp端口和http接口,在发现异常时实时推送告警信息,并且提供了可视化系统进行配置、管理、查看。 登录 注册 - 开源 - 企业版 - 高校版 - - 搜索 - 帮助中心 - 使用条款 - 关于我们 开源 企业版 高校版 私有云 模力方舟 AI 队友 登录 注册 【大赛通知】开源中国「2026上海开源软件应用创新大赛」火热报名中,百万奖池等你的项目 代码拉取完成,页面将自动刷新

0 次阅读2026/09/16 发布
监控平台/phoenix: “phoenix”是一个灵活可配置的开源监控平台,主要用于监控应用程序、服务器、网络设备、docker、数据库、网络、tcp端口和http接口,在发现异常时实时推送告警信息,并且提供了可视化系统进行配置、管理、查看。 来源图片

社区作者 · zZz

它解决什么问题

phoenix: “phoenix”是一个灵活可配置的开源监控平台,主要用于监控应用程序、服务器、网络设备、docker、数据库、网络、tcp端口和http接口,在发现异常时实时推送告警信息,并且提供了可视化系统进行配置、管理、查看。

登录 注册

-

开源

-

企业版

-

高校版

-

-

搜索

-

帮助中心

-

使用条款

-

关于我们

开源 企业版 高校版 私有云

模力方舟

AI 队友

登录 注册

【大赛通知】开源中国「2026上海开源软件应用创新大赛」火热报名中,百万奖池等你的项目

代码拉取完成,页面将自动刷新

开源项目 > DevOps/运维/网管 > 监控系统 &&

Watch

不关注

关注所有动态

仅关注版本发行动态

关注但不提醒动态

161

Star 1.5K

Fork 382

监控平台 / phoenix

代码

Issues

6

Pull Requests

0

Wiki

统计

流水线

服务

JavaDoc

质量分析

Jenkins for Gitee

腾讯云托管

腾讯云 Serverless

悬镜安全

阿里云 SAE

Codeblitz

SBOM

开发画像分析

我知道了,不再自动展开

加入 Gitee

与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)

免费加入

已有帐号? 立即登录

返回

master

分支 (2)

标签 (33)

管理

管理

master

develop

v1.2.7.RELEASE

v1.2.6.RELEASE-CR5

v1.2.6.RELEASE-CR4

v1.2.6.RELEASE-CR3

v1.2.6.RELEASE-CR2

v1.2.6.RELEASE-CR1

v1.2.5.RELEASE-CR1

v1.2.6.RELEASE

v1.2.5.RELEASE

v1.2.4.RELEASE-CR8

v1.2.4.RELEASE-CR7

v1.2.4.RELEASE-CR6

v1.2.4.RELEASE-CR5

v1.2.4.RELEASE-CR4

v1.2.4.RELEASE-CR3

v1.2.4.RELEASE-CR2

v1.2.4.RELEASE-CR1

v1.2.4.RELEASE

v1.2.3.RELEASE

v1.2.2.RELEASE

克隆/下载

克隆/下载

HTTPS SSH SVN SVN+SSH

下载ZIP

提示

下载代码请复制以下命令到终端执行

为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置

命令
git config --global user.name userName &#10git config --global user.email userEmail

初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置

1 生成 RSA 密钥

2 获取 RSA 公钥内容,并配置到 SSH公钥 中

在 Gitee 上使用 SVN,请访问 使用指南

使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作

Username for 'https://gitee.com': userName

Password for 'https://[email protected]': #

私人令牌

新建文件

新建 Diagram 文件

新建子模块

上传文件

分支 2

标签 33

贡献代码

同步代码

创建 Pull Request

了解更多

对比差异

通过 Pull Request 同步

同步更新到分支

通过 Pull Request 同步

将会在向当前分支创建一个 Pull Request,合入后将完成同步

流玄青夏

Merge remote-tracking branch 'origin/devel...

9c0945a

1024 次提交

提交 取消

提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件

.mvn/ wrapper

保存 取消

.qoder/repowiki/ zh

保存 取消

doc

保存 取消

mvn

保存 取消

phoenix-agent

保存 取消

phoenix-client

保存 取消

phoenix-common

保存 取消

phoenix-server

保存 取消

phoenix-ui

保存 取消

.gitattributes

保存 取消

.gitignore

保存 取消

CLAUDE.md

保存 取消

LICENSE

保存 取消

README.md

保存 取消

README_EN.md

保存 取消

license.txt

保存 取消

mvnw

保存 取消

mvnw.cmd

保存 取消

pom.xml

保存 取消

Loading...

README

GPL-3.0

&#x000A; <div align="center">&#x000A;&#x000A;# Phoenix 监控平台&#x000A;&#x000A;**灵活可配置的开源监控平台,集监控、告警、通知于一体**&#x000A;&#x000A;[![License](https://img.shields.io/github/license/709343767/phoenix?color=blue&logo=gnu&logoColor=white)](https://www.gnu.org/licenses/gpl-3.0.txt)&#x000A;[![Java](https://img.shields.io/badge/Java-1.8+-brightgreen?logo=openjdk&logoColor=white)](https://www.oracle.com/java/)&#x000A;[![Spring Boot](https://img.shields.io/badge/Spring%20Boot-2.3.12.RELEASE-6DB33F?logo=springboot&logoColor=white)](https://spring.io/projects/spring-boot)&#x000A;[![Maven Central](https://img.shields.io/maven-central/v/com.gitee.pifeng/phoenix-client-core?color=C71A36&logo=apachemaven&logoColor=white&label=Maven%20Central)](https://mvnrepository.com/artifact/com.gitee.pifeng)&#x000A;[![GitHub Stars](https://img.shields.io/github/stars/709343767/phoenix?style=flat&logo=github)](https://github.com/709343767/phoenix)&#x000A;[![Gitee Stars](https://gitee.com/monitoring-platform/phoenix/badge/star.svg?theme=dark)](https://gitee.com/monitoring-platform/phoenix/stargazers)&#x000A;[![Version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgitee.com%2Fapi%2Fv5%2Frepos%2Fmonitoring-platform%2Fphoenix%2Freleases%2Flatest&query=%24.tag_name&label=Version&color=orange)](https://gitee.com/monitoring-platform/phoenix/releases)&#x000A;&#x000A;[在线演示](http://1.14.155.72/phoenix-ui/index) |&#x000A;[微信公众号](https://mp.weixin.qq.com/mp/appmsgalbum?action=getalbum&__biz=MzYzMzgzNzQ5OQ==&scene=1&album_id=4442806491825356807&count=3#wechat_redirect) |&#x000A;[GitCode](https://gitcode.com/monitoring-platform/phoenix) |&#x000A;[Gitee](https://gitee.com/monitoring-platform/phoenix) |&#x000A;[GitHub](https://github.com/709343767/phoenix)&#x000A;&#x000A;中文 | [English](README_EN.md)&#x000A;&#x000A;</div>&#x000A;&#x000A;---&#x000A;&#x000A;## 📖 目录&#x000A;&#x000A;- [项目简介](#-项目简介)&#x000A;- [核心特性](#-核心特性)&#x000A;- [功能对比](#-功能对比)&#x000A;- [系统架构](#-系统架构)&#x000A;- [技术栈](#-技术栈)&#x000A;- [工程结构](#-工程结构)&#x000A;- [快速开始](#-快速开始)&#x000A;- [客户端接入](#-客户端接入)&#x000A;- [功能截图](#-功能截图)&#x000A;- [技术博客](#-技术博客)&#x000A;- [在线演示](#-在线演示)&#x000A;- [贡献指南](#-贡献指南)&#x000A;- [版权许可](#-版权许可)&#x000A;- [联系我们](#-联系我们)&#x000A;- [捐赠支持](#-捐赠支持)&#x000A;- [Star 历史](#-star-历史)&#x000A;&#x000A;## 💡 项目简介&#x000A;&#x000A;**Phoenix** 是一个灵活可配置的开源监控平台,主要用于监控应用程序、服务器、网络设备、Docker、数据库、网络、TCP端口和HTTP接口。通过实时收集、汇聚和分析监控信息,实现在发现异常时立刻推送告警信息,并且提供了可视化系统进行配置、管理和查看。&#x000A;&#x000A;> 开源不等同于免费,允许基于 Phoenix 进行二次开发,但不得修改 logo、名称、版权等。&#x000A;&#x000A;### 🏆 G-Star 认证&#x000A;&#x000A;Phoenix 已通过 **GitCode G-Star 毕业项目认证**。&#x000A;&#x000A;<img src="doc/其它/Phoenix GitCode G-Star 毕业项目认证.jpg" alt="G-Star认证" width="500"/>&#x000A;&#x000A;## ✨ 核心特性&#x000A;&#x000A;- **🖥️ 全栈监控** — 从应用到基础设施的一站式监控,详见[功能对比](#-功能对比)&#x000A;- **⚡ 实时告警** — 多渠道通知 + 四级告警机制(INFO/WARN/ERROR/FATAL)&#x000A;- **🔧 灵活配置** — 灵活的告警定义引擎,监控策略可动态调整&#x000A;- **🌐 分布式架构** — 支持集群部署,代理端可部署于跳板机打通网络壁垒&#x000A;- **🔒 数据安全** — 支持数据加密传输,保障监控数据安全&#x000A;- **🐳 容器化部署** — Docker / Docker Compose 一键部署,10分钟完成安装&#x000A;- **📱 多端支持** — Web界面同时支持PC端和移动端&#x000A;- **🔄 动态线程池** — 运行时查看和修改线程池参数,支持7种队列类型、6种拒绝策略 + SPI扩展&#x000A;- **📡 拓展性强** — 多协议通信架构,可拓展监控其它编程语言编写的程序&#x000A;&#x000A;## 🔍 功能对比&#x000A;&#x000A;Phoenix 提供两个版本:**开源版(1.x)** 和 **商用版(2.x)**。开源版包含核心监控能力,适合个人学习和小型项目;商用版在此基础上扩展了 Docker 监控、网络设备管理、在线诊断、动态线程池、慢SQL监控、企业通知渠道、业务异常日志采集等高级功能,适合企业级生产环境。&#x000A;&#x000A;> 💰 标记表示商用版专属收费功能。&#x000A;&#x000A;| 功能模块 | 功能 | 监控内容 | 开源版(1.x) | 商用版(2.x) |&#x000A;|:---------|:-----|:---------|:----------:|:----------:|&#x000A;| **服务器监控** | 服务器资源监控 | 在线状态、操作系统、CPU、平均负载、内存、磁盘、网卡、电池、传感器、进程 | ✅ | ✅ |&#x000A;| **Java应用监控** | JVM监控 | JVM概要、内存、线程、类加载、GC | ✅ | ✅ |&#x000A;| | 应用实例状态监控 | 在线状态 | ✅ | ✅ |&#x000A;| | 业务埋点监控 | 业务埋点 | ✅ | ✅ |&#x000A;| | 动态线程池监控与管理 | 线程池参数查看与动态修改 | ❌ | 💰 |&#x000A;| | Arthas在线JVM诊断 | JVM在线诊断 | ❌ | 💰 |&#x000A;| **网络监控** | HTTP接口监控 | 接口可用性 | ✅ | ✅ |&#x000A;| | TCP端口监控 | Telnet端口状态 | ✅ | ✅ |&#x000A;| | Ping网络连通性监控 | 网络连通性 | ✅ | ✅ |&#x000A;| | 网络设备SNMP监控 | 交换机、路由器等:在线状态、系统信息、接口信息 | ❌ | 💰 |&#x000A;| **数据库监控** | 数据库连接状态监控 | MySQL、Oracle、Redis、MongoDB在线状态与会话 | ✅ | ✅ |&#x000A;| | 数据库慢SQL监控 | MySQL慢SQL、Oracle慢SQL与表空间 | ❌ | 💰 |&#x000A;| **Docker监控** | Docker完整监控 | 服务状态、容器、镜像、事件、资源统计 | ❌ | 💰 |&#x000A;| **告警系统** | 告警通知(邮件 / 短信) | 四级告警(INFO/WARN/ERROR/FATAL) | ✅ | ✅ |&#x000A;| | 告警通知(钉钉 / 企业微信 / 飞书) | 多渠道企业通知 | ❌ | 💰 |&#x000A;| | 告警次数配置(故障 / 恢复) | 故障与恢复告警次数阈值 | ❌ | 💰 |&#x000A;| **日志管理** | 操作日志管理 | 操作日志记录、查看、管理 | ✅ | ✅ |&#x000A;| | 异常日志管理 | 异常日志记录、查看、管理 | ✅ | ✅ |&#x000A;| | 业务异常日志采集 | 客户端异常日志采集 | ❌ | 💰 |&#x000A;| **通信架构** | HTTP通信 | 基础HTTP通信 | ✅ | ✅ |&#x000A;| | WebSocket通信 | WebSocket实时通信 | ❌ | 💰 |&#x000A;| **可视化界面** | 基础监控仪表盘 | PC端和移动端监控面板 | ✅ | ✅ |&#x000A;| | Docker管理界面 | Docker管理与监控页面 | ❌ | 💰 |&#x000A;| | 网络设备管理界面 | 网络设备管理与监控页面 | ❌ | 💰 |&#x000A;| | 网络拓扑图 | 拓扑图展示 | ❌ | 💰 |&#x000A;| | Web终端仿真 | 在线终端 | ❌ | 💰 |&#x000A;| | Arthas诊断界面 | Arthas诊断操作页面 | ❌ | 💰 |&#x000A;&#x000A;> 📮 **获取商业版**:如需获取商业版授权或了解更多详情,请查看[《商用版定价方案》](doc/商用版定价方案.pdf)或联系作者(微信:pifengeclipse),更多联系方式详见[联系我们](#-联系我们)。&#x000A;&#x000A;## 🏗️ 系统架构&#x000A;&#x000A;![系统架构图](doc/系统架构图.png)&#x000A;&#x000A;## 🛠️ 技术栈&#x000A;&#x000A;| 类别 | 技术 |&#x000A;|:-----|:-----|&#x000A;| **核心框架** | Spring Boot 、Netty |&#x000A;| **安全框架** | Spring Security 、Spring Session |&#x000A;| **持久层** | MyBatis-Plus 、Alibaba Druid |&#x000A;| **任务调度** | JUC 、Spring Task 、Quartz |&#x000A;| **服务器监控** | Sigar / OSHI |&#x000A;| **网络设备监控** | SNMP4J |&#x000A;| **Docker监控** | docker-java |&#x000A;| **JVM诊断** | Alibaba Arthas |&#x000A;| **加密** | Bouncy Castle |&#x000A;| **前端框架** | Layui 、ECharts 、jtopo(拓扑图)、xterm(终端仿真) |&#x000A;| **工具库** | Hutool 、FastJSON 、Jackson 、Apache Commons(IO/Collections/Net) |&#x000A;| **其他** | EasyPOI(导出)、Knife4j(API文档)|&#x000A;&#x000A;## 📦 工程结构&#x000A;&#x000A;``&#x000A;phoenix(监控平台)&#x000A;├── phoenix-common(公共模块)&#x000A;│ ├── phoenix-common-core -- 核心公共:线程池、数据模型、工具类、加解密&#x000A;│ ├── phoenix-common-netty -- Netty通信:WebSocket、长连接、断线重连&#x000A;│ └── phoenix-common-web -- Web公共:REST API 基础设施&#x000A;├── phoenix-client(客户端SDK)&#x000A;│ ├── phoenix-client-core -- 核心:数据收集、心跳、业务埋点&#x000A;│ ├── phoenix-client-spring-boot-starter -- Spring Boot 自动配置&#x000A;│ └── phoenix-client-spring-mvc-integrator -- Spring MVC 适配&#x000A;├── phoenix-agent -- 代理端:服务器/Docker/SNMP 数据采集&#x000A;├── phoenix-server -- 服务端:数据处理、告警引擎、配置下发&#x000A;├── phoenix-ui -- 可视化UI:Web 管理界面&#x000A;├── doc -- 文档:架构图、截图、数据库脚本、部署脚本、技术博客&#x000A;└── mvn -- Maven打包脚本&#x000A;``&#x000A;&#x000A;## 🚀 快速开始&#x000A;&#x000A;> 一键安装:**10 分钟**即可完成自动安装 &#x000A;> 最低资源需求:**1核 CPU / 2 GB 内存 / 5 GB 磁盘**&#x000A;&#x000A;### Docker 安装(推荐)&#x000A;&#x000A;软件依赖:

可复制命令
Docker 20.10.14+&#x000A;&#x000A;```bash&#x000A;bash -c "$(curl -fsSL https://gitee.com/monitoring-platform/phoenix/raw/master/doc/Docker/install.sh)"&#x000A;```&#x000A;&#x000A;### Docker Compose 安装&#x000A;&#x000A;软件依赖:Docker Compose 2.0.0+&#x000A;&#x000A;```bash&#x000A;bash -c "$(curl -fsSL https://gitee.com/monitoring-platform/phoenix/raw/master/doc/DockerCompose/install.sh)"&#x000A;```&#x000A;&#x000A;### 安装 Agent

(监控服务器时需要)&#x000A;&#x000A;``bash&#x000A;bash -c "$(curl -fsSL https://gitee.com/monitoring-platform/phoenix/raw/master/doc/Docker/phoenix-agent/install_agent.sh)"&#x000A;&#x000A;&#x000A;### 配置说明&#x000A;&#x000A;**phoenix-server 配置:**&#x000A;1. 从源码目录 phoenix-server/src/main/resources/ 复制 application-prod.yml&#x000A;2. 放置于 /data/phoenix/phoenix-server/config/&#x000A;3. 编辑该文件,配置邮件等告警渠道&#x000A;4. 重启 phoenix-server 容器&#x000A;&#x000A;**phoenix-agent 配置:**&#x000A;1. 从源码目录 phoenix-agent/src/main/resources/ 复制 monitoring-prod.properties&#x000A;2. 放置于 /data/phoenix/phoenix-agent/config/&#x000A;3. 将 monitoring.comm.http.url 配置为 http://<server-ip>:16000/phoenix-server&#x000A;4. 重启 phoenix-agent 容器&#x000A;&#x000A;安装完成后访问:http://<ui-ip>/phoenix-ui/index,初始账号 admin / admin123guest / guest123&#x000A;&#x000A;## 📥 客户端接入&#x000A;&#x000A;Maven Central 最新稳定版本:**1.2.7.RELEASE**&#x000A;&#x000A;**普通 Java 程序:**&#x000A;xml&#x000A;<dependency>&#x000A; <groupId>com.gitee.pifeng</groupId>&#x000A; <artifactId>phoenix-client-core</artifactId>&#x000A; <version>1.2.7.RELEASE</version>&#x000A;</dependency>&#x000A;&#x000A;&#x000A;**Spring Boot 程序:**&#x000A;xml&#x000A;<dependency>&#x000A; <groupId>com.gitee.pifeng</groupId>&#x000A; <artifactId>phoenix-client-spring-boot-starter</artifactId>&#x000A; <version>1.2.7.RELEASE</version>&#x000A;</dependency>&#x000A;&#x000A;&#x000A;**Spring MVC 程序:**&#x000A;xml&#x000A;<dependency>&#x000A; <groupId>com.gitee.pifeng</groupId>&#x000A; <artifactId>phoenix-client-spring-mvc-integrator</artifactId>&#x000A; <version>1.2.7.RELEASE</version>&#x000A;</dependency>&#x000A;&#x000A;&#x000A;## 📸 功能截图&#x000A;&#x000A;<details>&#x000A;<summary><b>🏠 首页总览</b></summary>&#x000A;<br/>&#x000A;&#x000A;![首页1](doc/截图/首页1.png)&#x000A;![首页2](doc/截图/首页2.png)&#x000A;![首页3](doc/截图/首页3.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🖥️ 服务器监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![服务器1](doc/截图/服务器1.png)&#x000A;![服务器2](doc/截图/服务器2.png)&#x000A;![服务器3](doc/截图/服务器3.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>☕ 应用程序监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![应用程序1](doc/截图/应用程序1.png)&#x000A;![应用程序2](doc/截图/应用程序2.png)&#x000A;![应用程序3](doc/截图/应用程序3.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🗄️ 数据库监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![数据库1](doc/截图/数据库1.png)&#x000A;![数据库2](doc/截图/数据库2.png)&#x000A;![数据库3](doc/截图/数据库3.png)&#x000A;![数据库4](doc/截图/数据库4.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🌐 网络 / TCP / HTTP 监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![网络1](doc/截图/网络1.png)&#x000A;![网络2](doc/截图/网络2.png)&#x000A;![TCP1](doc/截图/TCP1.png)&#x000A;![TCP2](doc/截图/TCP2.png)&#x000A;![HTTP1](doc/截图/HTTP1.png)&#x000A;![HTTP2](doc/截图/HTTP2.png)&#x000A;![HTTP3](doc/截图/HTTP3.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🐳 Docker 监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![DOCKER1](doc/截图/DOCKER1.png)&#x000A;![DOCKER2](doc/截图/DOCKER2.png)&#x000A;![DOCKER3](doc/截图/DOCKER3.png)&#x000A;![DOCKER4](doc/截图/DOCKER4.png)&#x000A;![DOCKER5](doc/截图/DOCKER5.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🗺️ 拓扑图</b></summary>&#x000A;<br/>&#x000A;&#x000A;![拓扑图1](doc/截图/拓扑图1.png)&#x000A;![拓扑图2](doc/截图/拓扑图2.png)&#x000A;![拓扑图3](doc/截图/拓扑图3.png)&#x000A;![拓扑图4](doc/截图/拓扑图4.png)&#x000A;![拓扑图5](doc/截图/拓扑图5.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🔔 告警管理</b></summary>&#x000A;<br/>&#x000A;&#x000A;![告警1](doc/截图/告警1.png)&#x000A;![告警2](doc/截图/告警2.png)&#x000A;![告警定义](doc/截图/告警定义.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>⚙️ 系统管理</b></summary>&#x000A;<br/>&#x000A;&#x000A;![用户管理](doc/截图/用户管理.png)&#x000A;![操作日志1](doc/截图/操作日志1.png)&#x000A;![操作日志2](doc/截图/操作日志2.png)&#x000A;![异常日志1](doc/截图/异常日志1.png)&#x000A;![异常日志2](doc/截图/异常日志2.png)&#x000A;![监控配置](doc/截图/监控配置.png)&#x000A;</details>&#x000A;&#x000A;## 📚 技术博客&#x000A;&#x000A;共 **60+** 篇深度技术文章(持续更新中),涵盖架构设计与核心实现:&#x000A;&#x000A;| 系列 | 篇数 | 内容 |&#x000A;|:-----|:----:|:-----|&#x000A;| 通信与数据安全 | 7 | 全景概览、HTTP通信、WebSocket通信、Netty服务端、Netty客户端、加解密、数据压缩 |&#x000A;| 客户端SDK | 8 | Monitor入口、心跳机制、配置加载、JVM采集、线程池采集、Spring Boot集成、Spring MVC集成、业务埋点 |&#x000A;| 代理端 | 7 | 整体架构、服务器采集(上)、服务器采集(下)、Docker采集、Docker Stats、SNMP采集、数据转发 |&#x000A;| 服务端核心 | 10 | 数据接收、并行处理、实例管理、服务器监控、Docker监控、数据库监控、慢SQL检测、网络监测、分布式锁、实时监控表 |&#x000A;| 告警引擎 | 7 | 告警定义、触发流程、邮件通道、钉钉通道、企业微信通道、飞书通道、告警收敛 |&#x000A;| UI端与安全 | 7 | UI架构、SpringSecurity认证、CAS单点登录、验证码、日志、前端交互、拓扑图 |&#x000A;| 线程池监控 | 3 | 注册体系、动态调参、历史趋势 |&#x000A;| 公共模块与工程化 | 4 | DTO体系、Domain模型、HTTP加解密切面、Maven多模块管理 |&#x000A;| 部署与运维 | 4 | Docker部署、Docker Compose、服务化部署、集群高可用 |&#x000A;| 数据库设计 | 3 | 表分域与索引策略、实时+历史双表模式、Quartz调度表 |&#x000A;&#x000A;👉 阅读博客:[个人博客](https://kacper.fun/types/28) | [微信公众号](https://mp.weixin.qq.com/mp/appmsgalbum?action=getalbum&__biz=MzYzMzgzNzQ5OQ==&scene=1&album_id=4442806491825356807&count=3#wechat_redirect)&#x000A;&#x000A;👉 扫码关注微信公众号,获取更多技术干货&#x000A;&#x000A;<img src="doc/其它/wx_gzh.jpg" width="300" />&#x000A;&#x000A;## 🖥️ 在线演示&#x000A;&#x000A;| 演示地址 | 账号 | 密码 |&#x000A;|:---------|:-----|:-----|&#x000A;| [http://1.14.155.72/phoenix-ui/index](http://1.14.155.72/phoenix-ui/index) | guest | guest123 |&#x000A;&#x000A;> **提示:** 演示环境仅提供查看权限,访问速度受限于服务器带宽。&#x000A;&#x000A;## 🤝 贡献指南&#x000A;&#x000A;欢迎提出更好的意见,帮助完善 Phoenix!&#x000A;&#x000A;1. Fork 本仓库&#x000A;2. 创建特性分支 (git checkout -b feature/your-feature)&#x000A;3. 提交更改 (git commit -m 'Add your feature')&#x000A;4. 推送到分支 (git push origin feature/your-feature)&#x000A;5. 提交 Pull Request&#x000A;&#x000A;💡 [升级日志](https://gitee.com/monitoring-platform/phoenix/wikis/pages?sort_id=4420016&doc_id=935794)&#x000A;&#x000A;## 📄 版权许可&#x000A;&#x000A;[![License](https://img.shields.io/badge/License-GNU%20General%20Public%20License%20v3.0-blue)](https://www.gnu.org/licenses/gpl-3.0.txt)&#x000A;&#x000A;本项目基于 [GPLv3](https://www.gnu.org/licenses/gpl-3.0.txt) 协议开源,请遵守协议要求。&#x000A;&#x000A;## 📬 联系我们&#x000A;&#x000A;| 方式 | 信息 |&#x000A;|:-----|:-----|&#x000A;| 作者微信 | pifengeclipse |&#x000A;| 作者QQ | 709343767` |&#x000A;| QQ交流群 | [![加入QQ群](https://img.shields.io/badge/QQ群-773127639-blue)](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=qEfrXWBpzslfYc9QrTQJwx1Kty0sC3Ee&authKey=0GQGNvA5G0SLWZgRyn9EjX3Uta0WLAGuzSmrGqNWAnaUTU5LzRTZovcB2ivgE%2BFm&noverify=0&group_code=773127639) |&#x000A;&#x000A;## 💰 捐赠支持&#x000A;&#x000A;如果 Phoenix 对你有帮助,欢迎捐赠支持项目持续发展!&#x000A;&#x000A;<img src="doc/其它/donate.jpg" alt="捐赠" width="400"/>&#x000A;&#x000A;## ⭐ Star 历史&#x000A;&#x000A;### GitHub&#x000A;&#x000A;[![Star History Chart](https://api.star-history.com/svg?repos=709343767/phoenix&type=Date)](https://star-history.com/#709343767/phoenix&Date)&#x000A;&#x000A;### GitCode&#x000A;&#x000A;[![Stargazers over time](https://gitcode.com/monitoring-platform/phoenix/starcharts.svg?variant=adaptive)](https://gitcode.com/monitoring-platform/phoenix) &#x000A; &#x000A;

&#x000A; &#x000A;

&#x000A; GNU GENERAL PUBLIC LICENSE&#x000A; Version 3, 29 June 2007&#x000A;&#x000A; Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.

org/>&#x000A; Everyone is permitted to copy and distribute verbatim copies&#x000A; of this license document, but changing it is not allowed.

&#x000A;&#x000A; Preamble&#x000A;&#x000A; The GNU General Public License is a free, copyleft license for&#x000A;software and other kinds of works.

&#x000A;&#x000A; The licenses for most software and other practical works are designed&#x000A;to take away your freedom to share and change the works.

By contrast,&#x000A;the GNU General Public License is intended to guarantee your freedom to&#x000A;share and change all versions of a program--to make sure it remains free&#x000A;software for all its users.

We, the Free Software Foundation, use the&#x000A;GNU General Public License for most of our software; it applies also to&#x000A;any other work released this way by its authors. You can apply it to&#x000A;your programs, too.

&#x000A;&#x000A; When we speak of free software, we are referring to freedom, not&#x000A;price.

Our General Public Licenses are designed to make sure that you&#x000A;have the freedom to distribute copies of free software (and charge for&#x000A;them if you wish), that you receive source code or can get it if you&#x000A;want it, that you can change the software or use pieces of it in new&#x000A;free programs, and that you know you can do these things.

&#x000A;&#x000A; To protect your rights, we need to prevent others from denying you&#x000A;these rights or asking you to surrender the rights.

Therefore, you have&#x000A;certain responsibilities if you distribute copies of the software, or if&#x000A;you modify it: responsibilities to respect the freedom of others.

&#x000A;&#x000A; For example, if you distribute copies of such a program, whether&#x000A;gratis or for a fee, you must pass on to the recipients the same&#x000A;freedoms that you received.

You must make sure that they, too, receive&#x000A;or can get the source code. And you must show them these terms so they&#x000A;know their rights.

&#x000A;&#x000A; Developers that use the GNU GPL protect your rights with two steps:&#x000A;(1) assert copyright on the software, and (2) offer you this License&#x000A;giving you legal permission to copy, distribute and/or modify it.

&#x000A;&#x000A; For the developers' and authors' protection, the GPL clearly explains&#x000A;that there is no warranty for this free software.

For both users' and&#x000A;authors' sake, the GPL requires that modified versions be marked as&#x000A;changed, so that their problems will not be attributed erroneously to&#x000A;authors of previous versions.

&#x000A;&#x000A; Some devices are designed to deny users access to install or run&#x000A;modified versions of the software inside them, although the manufacturer&#x000A;can do so.

This is fundamentally incompatible with the aim of&#x000A;protecting users' freedom to change the software.

The systematic&#x000A;pattern of such abuse occurs in the area of products for individuals to&#x000A;use, which is precisely where it is most unacceptable.

Therefore, we&#x000A;have designed this version of the GPL to prohibit the practice for those&#x000A;products.

If such problems arise substantially in other domains, we&#x000A;stand ready to extend this provision to those domains in future versions&#x000A;of the GPL, as needed to protect the freedom of users.

&#x000A;&#x000A; Finally, every program is threatened constantly by software patents.

&#x000A;States should not allow patents to restrict development and use of&#x000A;software on general-purpose computers, but in those that do, we wish to&#x000A;avoid the special danger that patents applied to a free program could&#x000A;make it effectively proprietary.

To prevent this, the GPL assures that&#x000A;patents cannot be used to render the program non-free.&#x000A;&#x000A; The precise terms and conditions for copying, distribution and&#x000A;modification follow.

&#x000A;&#x000A; TERMS AND CONDITIONS&#x000A;&#x000A; 0. Definitions.&#x000A;&#x000A; "This License" refers to version 3 of the GNU General Public License.

&#x000A;&#x000A; "Copyright" also means copyright-like laws that apply to other kinds of&#x000A;works, such as semiconductor masks.&#x000A;&#x000A; "The Program" refers to any copyrightable work licensed under this&#x000A;License.

Each licensee is addressed as "you". "Licensees" and&#x000A;"recipients" may be individuals or organizations.

&#x000A;&#x000A; To "modify" a work means to copy from or adapt all or part of the work&#x000A;in a fashion requiring copyright permission, other than the making of an&#x000A;exact copy.

The resulting work is called a "modified version" of the&#x000A;earlier work or a work "based on" the earlier work.&#x000A;&#x000A; A "covered work" means either the unmodified Program or a work based&#x000A;on the Program.

&#x000A;&#x000A; To "propagate" a work means to do anything with it that, without&#x000A;permission, would make you directly or secondarily liable for&#x000A;infringement under applicable copyright law, except executing it on a&#x000A;computer or modifying a private copy.

Propagation includes copying,&#x000A;distribution (with or without modification), making available to the&#x000A;public, and in some countries other activities as well.

&#x000A;&#x000A; To "convey" a work means any kind of propagation that enables other&#x000A;parties to make or receive copies. Mere interaction with a user through&#x000A;a computer network, with no transfer of a copy, is not conveying.

&#x000A;&#x000A; An interactive user interface displays "Appropriate Legal Notices"&#x000A;to the extent that it includes a convenient and prominently visible&#x000A;feature that (1) displays an appropriate copyright notice, and (2)&#x000A;tells the user that there is no warranty for the work (except to the&#x000A;extent that warranties are provided), that licensees may convey the&#x000A;work under this License, and how to view a copy of this License.

If&#x000A;the interface presents a list of user commands or options, such as a&#x000A;menu, a prominent item in the list meets this criterion.&#x000A;&#x000A; 1. Source Code.

&#x000A;&#x000A; The "source code" for a work means the preferred form of the work&#x000A;for making modifications to it. "Object code" means any non-source&#x000A;form of a work.

&#x000A;&#x000A; A "Standard Interface" means an interface that either is an official&#x000A;standard defined by a recognized standards body, or, in the case of&#x000A;interfaces specified for a particular programming language, one that&#x000A;is widely used among developers working in that language.

&#x000A;&#x000A; The "System Libraries" of an executable work include anything, other&#x000A;than the work as a whole, that (a) is included in the normal form of&#x000A;packaging a Major Component, but which is not part of that Major&#x000A;Component, and (b) serves only to enable use of the work with that&#x000A;Major Component, or to implement a Standard Interface for which an&#x000A;implementation is available to the public in source code form.

A&#x000A;"Major Component", in this context, means a major essential component&#x000A;(kernel, window system, and so on) of the specific operating system&#x000A;(if any) on which the executable work runs, or a compiler used to&#x000A;produce the work, or an object code interpreter used to run it.

&#x000A;&#x000A; The "Corresponding Source" for a work in object code form means all&#x000A;the source code needed to generate, install, and (for an executable&#x000A;work) run the object code and to modify the work, including scripts to&#x000A;control those activities.

However, it does not include the work's&#x000A;System Libraries, or general-purpose tools or generally available free&#x000A;programs which are used unmodified in performing those activities but&#x000A;which are not part of the work.

For example, Corresponding Source&#x000A;includes interface definition files associated with source files for&#x000A;the work, and the source code for shared libraries and dynamically&#x000A;linked subprograms that the work is specifically designed to require,&#x000A;such as by intimate data communication or control flow between those&#x000A;subprograms and other parts of the work.

&#x000A;&#x000A; The Corresponding Source need not include anything that users&#x000A;can regenerate automatically from other parts of the Corresponding&#x000A;Source.

&#x000A;&#x000A; The Corresponding Source for a work in source code form is that&#x000A;same work.&#x000A;&#x000A; 2. Basic Permissions.

&#x000A;&#x000A; All rights granted under this License are granted for the term of&#x000A;copyright on the Program, and are irrevocable provided the stated&#x000A;conditions are met.

This License explicitly affirms your unlimited&#x000A;permission to run the unmodified Program. The output from running a&#x000A;covered work is covered by this License only if the output, given its&#x000A;content, constitutes a covered work.

This License acknowledges your&#x000A;rights of fair use or other equivalent, as provided by copyright law.

&#x000A;&#x000A; You may make, run and propagate covered works that you do not&#x000A;convey, without conditions so long as your license otherwise remains&#x000A;in force.

You may convey covered works to others for the sole purpose&#x000A;of having them make modifications exclusively for you, or provide you&#x000A;with facilities for running those works, provided that you comply with&#x000A;the terms of this License in conveying all material for which you do&#x000A;not control copyright.

Those thus making or running the covered works&#x000A;for you must do so exclusively on your behalf, under your direction&#x000A;and control, on terms that prohibit them from making any copies of&#x000A;your copyrighted material outside their relationship with you.

&#x000A;&#x000A; Conveying under any other circumstances is permitted solely under&#x000A;the conditions stated below. Sublicensing is not allowed; section 10&#x000A;makes it unnecessary.&#x000A;&#x000A; 3.

Protecting Users' Legal Rights From Anti-Circumvention Law.

&#x000A;&#x000A; No covered work shall be deemed part of an effective technological&#x000A;measure under any applicable law fulfilling obligations under article&#x000A;11 of the WIPO copyright treaty adopted on 20 December 1996, or&#x000A;similar laws prohibiting or restricting circumvention of such&#x000A;measures.

&#x000A;&#x000A; When you convey a covered work, you waive any legal power to forbid&#x000A;circumvention of technological measures to the extent such circumvention&#x000A;is effected by exercising rights under this License with respect to&#x000A;the covered work, and you disclaim any intention to limit operation or&#x000A;modification of the work as a means of enforcing, against the work's&#x000A;users, your or third parties' legal rights to forbid circumvention of&#x000A;technological measures.

&#x000A;&#x000A; 4. Conveying Verbatim Copies.

&#x000A;&#x000A; You may convey verbatim copies of the Program's source code as you&#x000A;receive it, in any medium, provided that you conspicuously and&#x000A;appropriately publish on each copy an appropriate copyright notice;&#x000A;keep intact all notices stating that this License and any&#x000A;non-permissive terms added in accord with section 7 apply to the code;&#x000A;keep intact all notices of the absence of any warranty; and give all&#x000A;recipients a copy of this License along with the Program.

&#x000A;&#x000A; You may charge any price or no price for each copy that you convey,&#x000A;and you may offer support or warranty protection for a fee.&#x000A;&#x000A; 5. Conveying Modified Source Versions.&#x000A;&#x000A; You may convey a work based

— 本文由 AI 根据公开来源辅助整理,命令、版本与许可证请在使用前到原始页面复核。

安装 / 开始使用

&#x000A; <div align="center">&#x000A;&#x000A;# Phoenix 监控平台&#x000A;&#x000A;**灵活可配置的开源监控平台,集监控、告警、通知于一体**&#x000A;&#x000A;[![License](https://img.shields.io/github/license/709343767/phoenix?color=blue&logo=gnu&logoColor=white)](https://www.gnu.org/licenses/gpl-3.0.txt)&#x000A;[![Java](https://img.shields.io/badge/Java-1.8+-brightgreen?logo=openjdk&logoColor=white)](https://www.oracle.com/java/)&#x000A;[![Spring Boot](https://img.shields.io/badge/Spring%20Boot-2.3.12.RELEASE-6DB33F?logo=springboot&logoColor=white)](https://spring.io/projects/spring-boot)&#x000A;[![Maven Central](https://img.shields.io/maven-central/v/com.gitee.pifeng/phoenix-client-core?color=C71A36&logo=apachemaven&logoColor=white&label=Maven%20Central)](https://mvnrepository.com/artifact/com.gitee.pifeng)&#x000A;[![GitHub Stars](https://img.shields.io/github/stars/709343767/phoenix?style=flat&logo=github)](https://github.com/709343767/phoenix)&#x000A;[![Gitee Stars](https://gitee.com/monitoring-platform/phoenix/badge/star.svg?theme=dark)](https://gitee.com/monitoring-platform/phoenix/stargazers)&#x000A;[![Version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fgitee.com%2Fapi%2Fv5%2Frepos%2Fmonitoring-platform%2Fphoenix%2Freleases%2Flatest&query=%24.tag_name&label=Version&color=orange)](https://gitee.com/monitoring-platform/phoenix/releases)&#x000A;&#x000A;[在线演示](http://1.14.155.72/phoenix-ui/index) |&#x000A;[微信公众号](https://mp.weixin.qq.com/mp/appmsgalbum?action=getalbum&__biz=MzYzMzgzNzQ5OQ==&scene=1&album_id=4442806491825356807&count=3#wechat_redirect) |&#x000A;[GitCode](https://gitcode.com/monitoring-platform/phoenix) |&#x000A;[Gitee](https://gitee.com/monitoring-platform/phoenix) |&#x000A;[GitHub](https://github.com/709343767/phoenix)&#x000A;&#x000A;中文 | [English](README_EN.md)&#x000A;&#x000A;</div>&#x000A;&#x000A;---&#x000A;&#x000A;## 📖 目录&#x000A;&#x000A;- [项目简介](#-项目简介)&#x000A;- [核心特性](#-核心特性)&#x000A;- [功能对比](#-功能对比)&#x000A;- [系统架构](#-系统架构)&#x000A;- [技术栈](#-技术栈)&#x000A;- [工程结构](#-工程结构)&#x000A;- [快速开始](#-快速开始)&#x000A;- [客户端接入](#-客户端接入)&#x000A;- [功能截图](#-功能截图)&#x000A;- [技术博客](#-技术博客)&#x000A;- [在线演示](#-在线演示)&#x000A;- [贡献指南](#-贡献指南)&#x000A;- [版权许可](#-版权许可)&#x000A;- [联系我们](#-联系我们)&#x000A;- [捐赠支持](#-捐赠支持)&#x000A;- [Star 历史](#-star-历史)&#x000A;&#x000A;## 💡 项目简介&#x000A;&#x000A;**Phoenix** 是一个灵活可配置的开源监控平台,主要用于监控应用程序、服务器、网络设备、Docker、数据库、网络、TCP端口和HTTP接口。通过实时收集、汇聚和分析监控信息,实现在发现异常时立刻推送告警信息,并且提供了可视化系统进行配置、管理和查看。&#x000A;&#x000A;> 开源不等同于免费,允许基于 Phoenix 进行二次开发,但不得修改 logo、名称、版权等。&#x000A;&#x000A;### 🏆 G-Star 认证&#x000A;&#x000A;Phoenix 已通过 **GitCode G-Star 毕业项目认证**。&#x000A;&#x000A;<img src="doc/其它/Phoenix GitCode G-Star 毕业项目认证.jpg" alt="G-Star认证" width="500"/>&#x000A;&#x000A;## ✨ 核心特性&#x000A;&#x000A;- **🖥️ 全栈监控** — 从应用到基础设施的一站式监控,详见[功能对比](#-功能对比)&#x000A;- **⚡ 实时告警** — 多渠道通知 + 四级告警机制(INFO/WARN/ERROR/FATAL)&#x000A;- **🔧 灵活配置** — 灵活的告警定义引擎,监控策略可动态调整&#x000A;- **🌐 分布式架构** — 支持集群部署,代理端可部署于跳板机打通网络壁垒&#x000A;- **🔒 数据安全** — 支持数据加密传输,保障监控数据安全&#x000A;- **🐳 容器化部署** — Docker / Docker Compose 一键部署,10分钟完成安装&#x000A;- **📱 多端支持** — Web界面同时支持PC端和移动端&#x000A;- **🔄 动态线程池** — 运行时查看和修改线程池参数,支持7种队列类型、6种拒绝策略 + SPI扩展&#x000A;- **📡 拓展性强** — 多协议通信架构,可拓展监控其它编程语言编写的程序&#x000A;&#x000A;## 🔍 功能对比&#x000A;&#x000A;Phoenix 提供两个版本:**开源版(1.x)** 和 **商用版(2.x)**。开源版包含核心监控能力,适合个人学习和小型项目;商用版在此基础上扩展了 Docker 监控、网络设备管理、在线诊断、动态线程池、慢SQL监控、企业通知渠道、业务异常日志采集等高级功能,适合企业级生产环境。&#x000A;&#x000A;> 💰 标记表示商用版专属收费功能。&#x000A;&#x000A;| 功能模块 | 功能 | 监控内容 | 开源版(1.x) | 商用版(2.x) |&#x000A;|:---------|:-----|:---------|:----------:|:----------:|&#x000A;| **服务器监控** | 服务器资源监控 | 在线状态、操作系统、CPU、平均负载、内存、磁盘、网卡、电池、传感器、进程 | ✅ | ✅ |&#x000A;| **Java应用监控** | JVM监控 | JVM概要、内存、线程、类加载、GC | ✅ | ✅ |&#x000A;| | 应用实例状态监控 | 在线状态 | ✅ | ✅ |&#x000A;| | 业务埋点监控 | 业务埋点 | ✅ | ✅ |&#x000A;| | 动态线程池监控与管理 | 线程池参数查看与动态修改 | ❌ | 💰 |&#x000A;| | Arthas在线JVM诊断 | JVM在线诊断 | ❌ | 💰 |&#x000A;| **网络监控** | HTTP接口监控 | 接口可用性 | ✅ | ✅ |&#x000A;| | TCP端口监控 | Telnet端口状态 | ✅ | ✅ |&#x000A;| | Ping网络连通性监控 | 网络连通性 | ✅ | ✅ |&#x000A;| | 网络设备SNMP监控 | 交换机、路由器等:在线状态、系统信息、接口信息 | ❌ | 💰 |&#x000A;| **数据库监控** | 数据库连接状态监控 | MySQL、Oracle、Redis、MongoDB在线状态与会话 | ✅ | ✅ |&#x000A;| | 数据库慢SQL监控 | MySQL慢SQL、Oracle慢SQL与表空间 | ❌ | 💰 |&#x000A;| **Docker监控** | Docker完整监控 | 服务状态、容器、镜像、事件、资源统计 | ❌ | 💰 |&#x000A;| **告警系统** | 告警通知(邮件 / 短信) | 四级告警(INFO/WARN/ERROR/FATAL) | ✅ | ✅ |&#x000A;| | 告警通知(钉钉 / 企业微信 / 飞书) | 多渠道企业通知 | ❌ | 💰 |&#x000A;| | 告警次数配置(故障 / 恢复) | 故障与恢复告警次数阈值 | ❌ | 💰 |&#x000A;| **日志管理** | 操作日志管理 | 操作日志记录、查看、管理 | ✅ | ✅ |&#x000A;| | 异常日志管理 | 异常日志记录、查看、管理 | ✅ | ✅ |&#x000A;| | 业务异常日志采集 | 客户端异常日志采集 | ❌ | 💰 |&#x000A;| **通信架构** | HTTP通信 | 基础HTTP通信 | ✅ | ✅ |&#x000A;| | WebSocket通信 | WebSocket实时通信 | ❌ | 💰 |&#x000A;| **可视化界面** | 基础监控仪表盘 | PC端和移动端监控面板 | ✅ | ✅ |&#x000A;| | Docker管理界面 | Docker管理与监控页面 | ❌ | 💰 |&#x000A;| | 网络设备管理界面 | 网络设备管理与监控页面 | ❌ | 💰 |&#x000A;| | 网络拓扑图 | 拓扑图展示 | ❌ | 💰 |&#x000A;| | Web终端仿真 | 在线终端 | ❌ | 💰 |&#x000A;| | Arthas诊断界面 | Arthas诊断操作页面 | ❌ | 💰 |&#x000A;&#x000A;> 📮 **获取商业版**:如需获取商业版授权或了解更多详情,请查看[《商用版定价方案》](doc/商用版定价方案.pdf)或联系作者(微信:pifengeclipse),更多联系方式详见[联系我们](#-联系我们)。&#x000A;&#x000A;## 🏗️ 系统架构&#x000A;&#x000A;![系统架构图](doc/系统架构图.png)&#x000A;&#x000A;## 🛠️ 技术栈&#x000A;&#x000A;| 类别 | 技术 |&#x000A;|:-----|:-----|&#x000A;| **核心框架** | Spring Boot 、Netty |&#x000A;| **安全框架** | Spring Security 、Spring Session |&#x000A;| **持久层** | MyBatis-Plus 、Alibaba Druid |&#x000A;| **任务调度** | JUC 、Spring Task 、Quartz |&#x000A;| **服务器监控** | Sigar / OSHI |&#x000A;| **网络设备监控** | SNMP4J |&#x000A;| **Docker监控** | docker-java |&#x000A;| **JVM诊断** | Alibaba Arthas |&#x000A;| **加密** | Bouncy Castle |&#x000A;| **前端框架** | Layui 、ECharts 、jtopo(拓扑图)、xterm(终端仿真) |&#x000A;| **工具库** | Hutool 、FastJSON 、Jackson 、Apache Commons(IO/Collections/Net) |&#x000A;| **其他** | EasyPOI(导出)、Knife4j(API文档)|&#x000A;&#x000A;## 📦 工程结构&#x000A;&#x000A;``&#x000A;phoenix(监控平台)&#x000A;├── phoenix-common(公共模块)&#x000A;│ ├── phoenix-common-core -- 核心公共:线程池、数据模型、工具类、加解密&#x000A;│ ├── phoenix-common-netty -- Netty通信:WebSocket、长连接、断线重连&#x000A;│ └── phoenix-common-web -- Web公共:REST API 基础设施&#x000A;├── phoenix-client(客户端SDK)&#x000A;│ ├── phoenix-client-core -- 核心:数据收集、心跳、业务埋点&#x000A;│ ├── phoenix-client-spring-boot-starter -- Spring Boot 自动配置&#x000A;│ └── phoenix-client-spring-mvc-integrator -- Spring MVC 适配&#x000A;├── phoenix-agent -- 代理端:服务器/Docker/SNMP 数据采集&#x000A;├── phoenix-server -- 服务端:数据处理、告警引擎、配置下发&#x000A;├── phoenix-ui -- 可视化UI:Web 管理界面&#x000A;├── doc -- 文档:架构图、截图、数据库脚本、部署脚本、技术博客&#x000A;└── mvn -- Maven打包脚本&#x000A;``&#x000A;&#x000A;## 🚀 快速开始&#x000A;&#x000A;> 一键安装:**10 分钟**即可完成自动安装 &#x000A;> 最低资源需求:**1核 CPU / 2 GB 内存 / 5 GB 磁盘**&#x000A;&#x000A;### Docker 安装(推荐)&#x000A;&#x000A;软件依赖:

可复制命令
Docker 20.10.14+&#x000A;&#x000A;```bash&#x000A;bash -c "$(curl -fsSL https://gitee.com/monitoring-platform/phoenix/raw/master/doc/Docker/install.sh)"&#x000A;```&#x000A;&#x000A;### Docker Compose 安装&#x000A;&#x000A;软件依赖:Docker Compose 2.0.0+&#x000A;&#x000A;```bash&#x000A;bash -c "$(curl -fsSL https://gitee.com/monitoring-platform/phoenix/raw/master/doc/DockerCompose/install.sh)"&#x000A;```&#x000A;&#x000A;### 安装 Agent

(监控服务器时需要)&#x000A;&#x000A;``bash&#x000A;bash -c "$(curl -fsSL https://gitee.com/monitoring-platform/phoenix/raw/master/doc/Docker/phoenix-agent/install_agent.sh)"&#x000A;&#x000A;&#x000A;### 配置说明&#x000A;&#x000A;**phoenix-server 配置:**&#x000A;1. 从源码目录 phoenix-server/src/main/resources/ 复制 application-prod.yml&#x000A;2. 放置于 /data/phoenix/phoenix-server/config/&#x000A;3. 编辑该文件,配置邮件等告警渠道&#x000A;4. 重启 phoenix-server 容器&#x000A;&#x000A;**phoenix-agent 配置:**&#x000A;1. 从源码目录 phoenix-agent/src/main/resources/ 复制 monitoring-prod.properties&#x000A;2. 放置于 /data/phoenix/phoenix-agent/config/&#x000A;3. 将 monitoring.comm.http.url 配置为 http://<server-ip>:16000/phoenix-server&#x000A;4. 重启 phoenix-agent 容器&#x000A;&#x000A;安装完成后访问:http://<ui-ip>/phoenix-ui/index,初始账号 admin / admin123guest / guest123&#x000A;&#x000A;## 📥 客户端接入&#x000A;&#x000A;Maven Central 最新稳定版本:**1.2.7.RELEASE**&#x000A;&#x000A;**普通 Java 程序:**&#x000A;xml&#x000A;<dependency>&#x000A; <groupId>com.gitee.pifeng</groupId>&#x000A; <artifactId>phoenix-client-core</artifactId>&#x000A; <version>1.2.7.RELEASE</version>&#x000A;</dependency>&#x000A;&#x000A;&#x000A;**Spring Boot 程序:**&#x000A;xml&#x000A;<dependency>&#x000A; <groupId>com.gitee.pifeng</groupId>&#x000A; <artifactId>phoenix-client-spring-boot-starter</artifactId>&#x000A; <version>1.2.7.RELEASE</version>&#x000A;</dependency>&#x000A;&#x000A;&#x000A;**Spring MVC 程序:**&#x000A;xml&#x000A;<dependency>&#x000A; <groupId>com.gitee.pifeng</groupId>&#x000A; <artifactId>phoenix-client-spring-mvc-integrator</artifactId>&#x000A; <version>1.2.7.RELEASE</version>&#x000A;</dependency>&#x000A;``&#x000A;&#x000A;## 📸 功能截图&#x000A;&#x000A;<details>&#x000A;<summary><b>🏠 首页总览</b></summary>&#x000A;<br/>&#x000A;&#x000A;![首页1](doc/截图/首页1.png)&#x000A;![首页2](doc/截图/首页2.png)&#x000A;![首页3](doc/截图/首页3.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🖥️ 服务器监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![服务器1](doc/截图/服务器1.png)&#x000A;![服务器2](doc/截图/服务器2.png)&#x000A;![服务器3](doc/截图/服务器3.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>☕ 应用程序监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![应用程序1](doc/截图/应用程序1.png)&#x000A;![应用程序2](doc/截图/应用程序2.png)&#x000A;![应用程序3](doc/截图/应用程序3.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🗄️ 数据库监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![数据库1](doc/截图/数据库1.png)&#x000A;![数据库2](doc/截图/数据库2.png)&#x000A;![数据库3](doc/截图/数据库3.png)&#x000A;![数据库4](doc/截图/数据库4.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🌐 网络 / TCP / HTTP 监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![网络1](doc/截图/网络1.png)&#x000A;![网络2](doc/截图/网络2.png)&#x000A;![TCP1](doc/截图/TCP1.png)&#x000A;![TCP2](doc/截图/TCP2.png)&#x000A;![HTTP1](doc/截图/HTTP1.png)&#x000A;![HTTP2](doc/截图/HTTP2.png)&#x000A;![HTTP3](doc/截图/HTTP3.png)&#x000A;</details>&#x000A;&#x000A;<details>&#x000A;<summary><b>🐳 Docker 监控</b></summary>&#x000A;<br/>&#x000A;&#x000A;![DOCKER1](doc/截图/DOCKER1.

来源教程配图

Gitee - 基于 Git 的代码托管和研发协作平台
配图 1 · Gitee - 基于 Git 的代码托管和研发协作平台查看原图
Gitee - 基于 Git 的代码托管和研发协作平台
配图 2 · Gitee - 基于 Git 的代码托管和研发协作平台查看原图
模力方舟
配图 3 · 模力方舟查看原图
richgiteeai
配图 4 · richgiteeai查看原图
Maven
配图 5 · Maven查看原图
Sonar mini
配图 6 · Sonar mini查看原图
Jenkins for gitee
配图 7 · Jenkins for gitee查看原图
Cloudbase
配图 8 · Cloudbase查看原图

适用场景

学习研究
开源项目实践