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>
24 lines
545 B
Plaintext
24 lines
545 B
Plaintext
config glances 'main'
|
|
option enabled '0'
|
|
option runtime 'lxc'
|
|
option web_port '61208'
|
|
option api_port '61209'
|
|
option web_host '0.0.0.0'
|
|
option refresh_rate '3'
|
|
option memory_limit '128M'
|
|
|
|
config monitoring 'monitoring'
|
|
option monitor_docker '1'
|
|
option monitor_network '1'
|
|
option monitor_diskio '1'
|
|
option monitor_sensors '1'
|
|
option monitor_processes '1'
|
|
|
|
config alerts 'alerts'
|
|
option cpu_warning '70'
|
|
option cpu_critical '90'
|
|
option mem_warning '70'
|
|
option mem_critical '90'
|
|
option disk_warning '70'
|
|
option disk_critical '90'
|