secubox-openwrt/package/secubox/luci-app-watchdog/root/usr/share/rpcd/acl.d/luci-app-watchdog.json
CyberMind-FR 66d9fbc6c0 feat(watchdog): Add service health monitor with auto-recovery
New packages for monitoring and auto-restarting critical services:

secubox-app-watchdog:
- watchdogctl CLI: status, check, check-recover, watch, restart-*
- Monitors LXC containers: haproxy, mitmproxy-in/out, streamlit
- Monitors host services: crowdsec, uhttpd, dnsmasq
- Checks HTTPS endpoints: gk2.secubox.in, admin.gk2, lldh360.maegia.tv
- Auto-recovery with alert cooldown and log rotation
- Procd service + cron fallback for redundancy

luci-app-watchdog:
- Real-time dashboard with 10s polling
- Container/service tables with restart buttons
- Endpoint health indicators
- Alert log viewer with refresh/clear
- RPCD backend: status, restart_*, check, get_logs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-12 06:46:53 +01:00

30 lines
746 B
JSON

{
"luci-app-watchdog": {
"description": "Grant access to SecuBox Watchdog",
"read": {
"ubus": {
"luci.watchdog": [
"status",
"get_containers",
"get_services",
"get_endpoints",
"get_logs",
"get_config"
]
},
"uci": ["watchdog"]
},
"write": {
"ubus": {
"luci.watchdog": [
"restart_container",
"restart_service",
"check",
"clear_logs"
]
},
"uci": ["watchdog"]
}
}
}