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>
30 lines
746 B
JSON
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"]
|
|
}
|
|
}
|
|
}
|