mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-14 10:41:54 +08:00
发布 网络设备监控平台
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
54c26b650d
commit
0a99f2642d
1
.github/README.md
vendored
1
.github/README.md
vendored
@ -148,6 +148,7 @@
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/transmission/logo.png" width="22"/> | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/umami/logo.png" width="22"/> | Umami | https://umami.is/ | 为速度和效率而构建的网站分析 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/watchyourlan/logo.png" width="22"/> | 路由设备监控 | https://github.com/aceberg/WatchYourLAN/ | 轻量级网络 IP 扫描器 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wiseflow/logo.png" width="22"/> | WiseFlow | https://github.com/TeamWiseFlow/wiseflow/ | Wiseflow 首席情报官 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wukongim/logo.png" width="22"/> | 悟空IM | https://githubim.com/ | 让信息传递更简单 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/xunlei-cnk3x/logo.png" width="22"/> | 迅雷 NAS版 | https://github.com/cnk3x/xunlei/ | 迅雷远程下载服务 NAS移植版 | |
|
||||
|
@ -131,6 +131,7 @@
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/transmission/logo.png" width="22"/> | Transmission | https://transmissionbt.com/ | 快速、简单、免费的 Bittorrent 客户端 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/uptime-kuma/logo.png" width="22"/> | Uptime Kuma | https://uptime.kuma.pet/ | 自托管监控工具 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/umami/logo.png" width="22"/> | Umami | https://umami.is/ | 为速度和效率而构建的网站分析 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/watchyourlan/logo.png" width="22"/> | 路由设备监控 | https://github.com/aceberg/WatchYourLAN/ | 轻量级网络 IP 扫描器 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wiseflow/logo.png" width="22"/> | WiseFlow | https://github.com/TeamWiseFlow/wiseflow/ | Wiseflow 首席情报官 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/wukongim/logo.png" width="22"/> | 悟空IM | https://githubim.com/ | 让信息传递更简单 | |
|
||||
| 🟢 | <img height="22" src="https://file.lifebus.top/apps/xunlei-cnk3x/logo.png" width="22"/> | 迅雷 NAS版 | https://github.com/cnk3x/xunlei/ | 迅雷远程下载服务 NAS移植版 | |
|
||||
|
108
apps/watchyourlan/2.0.3/data.yml
Normal file
108
apps/watchyourlan/2.0.3/data.yml
Normal file
@ -0,0 +1,108 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: "/home/watchyourlan"
|
||||
edit: true
|
||||
envKey: WATCHYOURLAN_ROOT_PATH
|
||||
labelZh: 数据持久化路径
|
||||
labelEn: Data persistence path
|
||||
required: true
|
||||
type: text
|
||||
- default: 8840
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelZh: 访问端口
|
||||
labelEn: Port
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "sand"
|
||||
edit: true
|
||||
envKey: THEME
|
||||
labelZh: 主题
|
||||
labelEn: Theme
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: Sand
|
||||
value: "sand"
|
||||
- label: Emerald
|
||||
value: "emerald"
|
||||
- label: Grass
|
||||
value: "grass"
|
||||
- label: Grayscale
|
||||
value: "grayscale"
|
||||
- label: Ocean
|
||||
value: "ocean"
|
||||
- label: Wood
|
||||
value: "wood"
|
||||
- default: "dark"
|
||||
edit: true
|
||||
envKey: COLOR
|
||||
labelZh: 颜色
|
||||
labelEn: Color
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 浅色
|
||||
value: "light"
|
||||
- label: 深色
|
||||
value: "dark"
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: SHOUTRRR_URL
|
||||
labelZh: 通知地址
|
||||
labelEn: Notification URL
|
||||
required: false
|
||||
type: text
|
||||
- default: "enp2s0"
|
||||
edit: true
|
||||
envKey: IFACES
|
||||
labelZh: 监听网卡 (多个用逗号分隔)
|
||||
labelEn: Listening network card (separated by commas)
|
||||
required: true
|
||||
type: text
|
||||
- default: 120
|
||||
edit: true
|
||||
envKey: TIMEOUT
|
||||
labelZh: 超时时间 (秒)
|
||||
labelEn: Timeout (seconds)
|
||||
required: true
|
||||
type: number
|
||||
- default: 48
|
||||
edit: true
|
||||
envKey: TRIM_HIST
|
||||
labelZh: 历史记录保留失效 (小时)
|
||||
labelEn: Historical record retention invalid (hours)
|
||||
required: true
|
||||
type: number
|
||||
- default: "false"
|
||||
edit: true
|
||||
envKey: HIST_IN_DB
|
||||
labelZh: 历史记录存储方式
|
||||
labelEn: Historical record storage method
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 内存存储
|
||||
value: "false"
|
||||
- label: 数据库存储
|
||||
value: "true"
|
||||
- default: "sqlite"
|
||||
edit: true
|
||||
envKey: USE_DB
|
||||
labelZh: 数据存储方式
|
||||
labelEn: Data storage method
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: SQLite
|
||||
value: "sqlite"
|
||||
- label: PostgreSQL
|
||||
value: "postgres"
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: PG_CONNECT
|
||||
labelZh: PostgreSQL 连接地址
|
||||
labelEn: PostgreSQL connection address
|
||||
required: false
|
||||
type: text
|
20
apps/watchyourlan/2.0.3/docker-compose.yml
Normal file
20
apps/watchyourlan/2.0.3/docker-compose.yml
Normal file
@ -0,0 +1,20 @@
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
|
||||
services:
|
||||
watchyourlan:
|
||||
image: aceberg/watchyourlan:2.0.3
|
||||
container_name: ${CONTAINER_NAME}
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
restart: always
|
||||
network_mode: host
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:8840
|
||||
volumes:
|
||||
- ${WATCHYOURLAN_ROOT_PATH}/data:/data/WatchYourLAN
|
||||
environment:
|
||||
- HOST=0.0.0.0
|
||||
- PORT=8840
|
||||
- LOG_LEVEL=info
|
15
apps/watchyourlan/2.0.3/scripts/init.sh
Normal file
15
apps/watchyourlan/2.0.3/scripts/init.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
10
apps/watchyourlan/2.0.3/scripts/uninstall.sh
Normal file
10
apps/watchyourlan/2.0.3/scripts/uninstall.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
15
apps/watchyourlan/2.0.3/scripts/upgrade.sh
Normal file
15
apps/watchyourlan/2.0.3/scripts/upgrade.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -f .env ]; then
|
||||
source .env
|
||||
|
||||
# setup-1 add default values
|
||||
CURRENT_DIR=$(pwd)
|
||||
sed -i '/^ENV_FILE=/d' .env
|
||||
echo "ENV_FILE=${CURRENT_DIR}/.env" >> .env
|
||||
|
||||
echo "Check Finish."
|
||||
|
||||
else
|
||||
echo "Error: .env file not found."
|
||||
fi
|
20
apps/watchyourlan/README.md
Normal file
20
apps/watchyourlan/README.md
Normal file
@ -0,0 +1,20 @@
|
||||
# 路由设备监控
|
||||
|
||||
轻量级网络 IP 扫描器。可用于通知新主机并监控主机在线/离线历史
|
||||
|
||||
![路由设备监控](https://file.lifebus.top/imgs/kimai_cover.png)
|
||||
|
||||
![](https://img.shields.io/badge/%E6%96%B0%E7%96%86%E8%90%8C%E6%A3%AE%E8%BD%AF%E4%BB%B6%E5%BC%80%E5%8F%91%E5%B7%A5%E4%BD%9C%E5%AE%A4-%E6%8F%90%E4%BE%9B%E6%8A%80%E6%9C%AF%E6%94%AF%E6%8C%81-blue)
|
||||
|
||||
## 简介
|
||||
|
||||
轻量级网络 IP 扫描器,带有 Web GUI。特性: Translation:
|
||||
|
||||
+ 发现新主机时发送通知
|
||||
+ 监控主机在线/离线历史
|
||||
+ 保持网络中所有主机的列表
|
||||
+ 将数据发送到 InfluxDB2 以创建 Grafana 仪表板
|
||||
|
||||
---
|
||||
|
||||
![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)
|
15
apps/watchyourlan/data.yml
Normal file
15
apps/watchyourlan/data.yml
Normal file
@ -0,0 +1,15 @@
|
||||
additionalProperties:
|
||||
key: watchyourlan
|
||||
name: 路由设备监控
|
||||
tags:
|
||||
- WebSite
|
||||
- Middleware
|
||||
- Local
|
||||
shortDescZh: 轻量级网络 IP 扫描器
|
||||
shortDescEn: Lightweight network IP scanner
|
||||
type: website
|
||||
crossVersionUpdate: true
|
||||
limit: 0
|
||||
website: https://github.com/aceberg/WatchYourLAN/
|
||||
github: https://github.com/aceberg/WatchYourLAN/
|
||||
document: https://github.com/aceberg/WatchYourLAN/
|
BIN
apps/watchyourlan/logo.png
Normal file
BIN
apps/watchyourlan/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue
Block a user