secubox-openwrt/package/secubox/luci-app-system-hub/root/usr/share/rpcd/acl.d/luci-app-system-hub.json
CyberMind-FR fe762b6eb1 feat(system-hub): Add HAProxy routes health check panel
- Add get_service_health RPCD method to check all HAProxy routes
- Integrate /usr/sbin/service-health-check for backend HTTP probing
- Add health panel in services.js with up/down stats and health %
- Display down services list with tooltips showing IP:port
- Add refresh button for manual health check trigger
- Update ACL with get_service_health read permission
- 5-minute cache for health data with force-refresh option

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-09 13:28:06 +01:00

65 lines
1.3 KiB
JSON

{
"luci-app-system-hub": {
"description": "System Hub - Central Control Dashboard",
"read": {
"ubus": {
"luci.system-hub": [
"status",
"get_system_info",
"get_health",
"get_service_health",
"get_components",
"get_components_by_category",
"list_services",
"get_logs",
"get_denoised_logs",
"get_denoise_stats",
"get_storage",
"get_settings",
"get_backup_schedule",
"list_diagnostics",
"list_diagnostic_profiles",
"get_diagnostic_profile",
"download_diagnostic",
"run_diagnostic_test",
"remote_status",
"remote_get_credentials",
"ttyd_status"
],
"luci.secubox": [
"modules",
"getModules",
"modules_by_category",
"getModuleInfo",
"get_theme",
"getStatus",
"getHealth"
]
}
},
"write": {
"ubus": {
"luci.system-hub": [
"service_action",
"backup_config",
"restore_config",
"set_backup_schedule",
"reboot",
"save_settings",
"collect_diagnostics",
"delete_diagnostic",
"upload_diagnostics",
"remote_install",
"remote_configure",
"remote_service_action",
"remote_save_settings",
"ttyd_install",
"ttyd_start",
"ttyd_stop",
"ttyd_configure"
]
}
}
}
}