Add secubox-app-glances and luci-app-glances packages: secubox-app-glances: - LXC container with nicolargo/glances:latest-full Docker image - Web UI on port 61208, API on port 61209 - UCI configuration for monitoring options and alert thresholds - glancesctl management script luci-app-glances: - Dashboard view with service status and quick actions - Embedded Web UI view with iframe - Settings view for configuration - RPCD backend with proper ACL permissions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
39 lines
688 B
JSON
39 lines
688 B
JSON
{
|
|
"admin/secubox/monitoring/glances": {
|
|
"title": "Glances",
|
|
"order": 10,
|
|
"action": {
|
|
"type": "firstchild",
|
|
"recurse": true
|
|
},
|
|
"depends": {
|
|
"acl": ["luci-app-glances"],
|
|
"uci": {"glances": true}
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/glances/dashboard": {
|
|
"title": "Dashboard",
|
|
"order": 1,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "glances/dashboard"
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/glances/webui": {
|
|
"title": "Web UI",
|
|
"order": 2,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "glances/webui"
|
|
}
|
|
},
|
|
"admin/secubox/monitoring/glances/settings": {
|
|
"title": "Settings",
|
|
"order": 3,
|
|
"action": {
|
|
"type": "view",
|
|
"path": "glances/settings"
|
|
}
|
|
}
|
|
}
|