Update Nezha Agent configuration files

This commit is contained in:
Anyexyz 2024-10-15 19:33:25 +08:00
parent 5b47264870
commit 9a279db23a
5 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,14 @@
additionalProperties:
formFields:
- envKey: NZ_GRPC_URL
labelEn: "Nezha gRPC URL"
labelZh: 哪吒 gRPC 地址
required: true
type: text
edit: true
- envKey: NZ_CLENT_SECRET
labelEn: "Nezha client secret"
labelZh: 哪吒客户端密钥
required: true
type: password
edit: true

View File

@ -0,0 +1,11 @@
services:
nezha-agent:
image: whoer/nezha-agent:0.19.10
container_name: ${CONTAINER_NAME}
restart: unless-stopped
command: --tls -s ${NZ_GRPC_URL} -p ${NZ_CLENT_SECRET} -d
volumes:
- /etc:/etc:ro
network_mode: host
labels:
createdBy: "Apps"

View File

@ -0,0 +1,18 @@
# Nezha Agent
Nezha Agent 是哪吒监控的被控端服务,若启动后无法连接到 Nezha Server请进入 `参数` - `高级设置` - `编辑 compose 文件` 删除 `command` 中的 `--tls` 参数。
Nezha 是一款强大的开源监控和可视化工具,主要用于实时监控服务器、应用性能、网络状况等,并提供直观的图形化展示。
## 主要功能:
- **实时监控**Nezha 提供实时的服务器资源使用情况,如 CPU、内存、磁盘、网络等帮助用户及时发现并处理性能问题。
- **多设备支持**:支持监控多个设备的状态,可以集中管理多台服务器的数据。
- **自定义告警**:用户可以设置自定义告警规则,当监控项超出预设值时,系统会发送告警通知,帮助及时处理问题。
- **历史数据存储与查看**Nezha 会记录监控数据,用户可以回溯查看历史性能趋势,方便进行长期分析和优化。
- **支持多种监控插件**Nezha 支持集成多种监控插件,扩展性强,可以根据需求添加对特定应用或服务的监控。
- **可视化图表**:数据通过易读的图表形式展示,帮助用户直观理解系统性能与健康状态。
- **轻量级部署**Nezha 可以轻量级部署,资源占用低,非常适合中小型项目或个人开发者使用。
- **多平台支持**:支持 Linux、Windows 等多种操作系统,适应性强。
- **用户权限管理**:提供细粒度的用户权限控制,确保监控数据的安全性。
- **开放API**:提供 RESTful API方便与其他系统集成。

20
apps/nezha-agent/data.yml Normal file
View File

@ -0,0 +1,20 @@
name: nezha-agent
tags:
- 工具
title: 哪吒监控 - Agent
type: 工具
description: 哪吒监控 - Agent
additionalProperties:
key: nezha-agent
name: nezha-agent
tags:
- Tool
shortDescZh: 哪吒监控 - Agent
shortDescEn: Nezha Monitoring - Agent
type: tool
crossVersionUpdate: true
limit: 0
recommend: 0
website: https://nezha.wiki/
github: https://github.com/naiba/nezha
document: https://nezha.wiki/guide/agent.html

BIN
apps/nezha-agent/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB