CPU
Modifié par john le 2026/09/26 17:01
Page cpu : supervision du serveur principal à partir de Glances. Les widgets gl-* interrogent l'API de Glances lancé en mode web (GLANCES_OPT=-w), sans authentification et avec CORS autorisé : ni identifiant ni useProxy. limit règle le nombre de points des historiques. Déploiement et configuration commune : Dashy.
pageInfo
pageInfo:
title: CPU
description: Resource Usage Monitoring
navLinks:
- title: Home
path: /
title: CPU
description: Resource Usage Monitoring
navLinks:
- title: Home
path: /
pages
pages:
- name: bookmarks
path: bookmark.yml
- name: news
path: news.yml
- name: cpu
path: cpu.yml
- name: bookmarks
path: bookmark.yml
- name: news
path: news.yml
- name: cpu
path: cpu.yml
Sections
CPU Usage
sections:
- name: CPU Usage
icon: fas fa-tachometer
displayData:
rows: 2
widgets:
- type: gl-current-cpu
options:
hostname: https://glances.<DOMAINE>
id: 0_765_glcurrentcpu
- type: gl-current-cores
options:
hostname: https://glances.<DOMAINE>
id: 1_765_glcurrentcores
- name: CPU Usage
icon: fas fa-tachometer
displayData:
rows: 2
widgets:
- type: gl-current-cpu
options:
hostname: https://glances.<DOMAINE>
id: 0_765_glcurrentcpu
- type: gl-current-cores
options:
hostname: https://glances.<DOMAINE>
id: 1_765_glcurrentcores
CPU History
sections:
- name: CPU History
icon: fas fa-microchip
displayData:
cols: 2
widgets:
- type: gl-cpu-history
options:
hostname: https://glances.<DOMAINE>
limit: 60
id: 0_1018_glcpuhistory
- name: CPU History
icon: fas fa-microchip
displayData:
cols: 2
widgets:
- type: gl-cpu-history
options:
hostname: https://glances.<DOMAINE>
limit: 60
id: 0_1018_glcpuhistory
Disk Space
sections:
- name: Disk Space
icon: fas fa-hdd
widgets:
- type: gl-disk-space
options:
hostname: https://glances.<DOMAINE>
id: 0_919_gldiskspace
- name: Disk Space
icon: fas fa-hdd
widgets:
- type: gl-disk-space
options:
hostname: https://glances.<DOMAINE>
id: 0_919_gldiskspace
Network Interfaces
sections:
- name: Network Interfaces
icon: fas fa-ethernet
widgets:
- type: gl-network-interfaces
options:
hostname: https://glances.<DOMAINE>
limit: 500
id: 0_1806_glnetworkinterfaces
- name: Network Interfaces
icon: fas fa-ethernet
widgets:
- type: gl-network-interfaces
options:
hostname: https://glances.<DOMAINE>
limit: 500
id: 0_1806_glnetworkinterfaces
Network Activity
sections:
- name: Network Activity
icon: fas fa-exchange
displayData:
cols: 2
widgets:
- type: gl-network-traffic
options:
hostname: https://glances.<DOMAINE>
limit: 500
- name: Network Activity
icon: fas fa-exchange
displayData:
cols: 2
widgets:
- type: gl-network-traffic
options:
hostname: https://glances.<DOMAINE>
limit: 500
Disk IO
sections:
- name: Disk IO
icon: fas fa-disc-drive
widgets:
- type: gl-disk-io
options:
hostname: https://glances.<DOMAINE>
id: 0_579_gldiskio
- name: Disk IO
icon: fas fa-disc-drive
widgets:
- type: gl-disk-io
options:
hostname: https://glances.<DOMAINE>
id: 0_579_gldiskio
Memory Usage
sections:
- name: Memory Usage
icon: fas fa-memory
widgets:
- type: gl-current-mem
options:
hostname: https://glances.<DOMAINE>
id: 0_1166_glcurrentmem
- name: Memory Usage
icon: fas fa-memory
widgets:
- type: gl-current-mem
options:
hostname: https://glances.<DOMAINE>
id: 0_1166_glcurrentmem
System Load
sections:
- name: System Load
icon: fas fa-tasks-alt
widgets:
- type: gl-system-load
options:
hostname: https://glances.<DOMAINE>
id: 0_1061_glsystemload
- name: System Load
icon: fas fa-tasks-alt
widgets:
- type: gl-system-load
options:
hostname: https://glances.<DOMAINE>
id: 0_1061_glsystemload
System Alerts
sections:
- name: System Alerts
icon: fas fa-sensor-alert
widgets:
- type: gl-alerts
options:
hostname: https://glances.<DOMAINE>
id: 0_1296_glalerts
- name: System Alerts
icon: fas fa-sensor-alert
widgets:
- type: gl-alerts
options:
hostname: https://glances.<DOMAINE>
id: 0_1296_glalerts
Fichier complet
Le fichier cpu.yml en un seul bloc, à copier tel quel dans user-data.
Afficher cpu.yml complet
pageInfo:
title: CPU
description: Resource Usage Monitoring
navLinks:
- title: Home
path: /
pages:
- name: bookmarks
path: bookmark.yml
- name: news
path: news.yml
- name: cpu
path: cpu.yml
sections:
- name: CPU Usage
icon: fas fa-tachometer
displayData:
rows: 2
widgets:
- type: gl-current-cpu
options:
hostname: https://glances.<DOMAINE>
id: 0_765_glcurrentcpu
- type: gl-current-cores
options:
hostname: https://glances.<DOMAINE>
id: 1_765_glcurrentcores
- name: CPU History
icon: fas fa-microchip
displayData:
cols: 2
widgets:
- type: gl-cpu-history
options:
hostname: https://glances.<DOMAINE>
limit: 60
id: 0_1018_glcpuhistory
- name: Disk Space
icon: fas fa-hdd
widgets:
- type: gl-disk-space
options:
hostname: https://glances.<DOMAINE>
id: 0_919_gldiskspace
- name: Network Interfaces
icon: fas fa-ethernet
widgets:
- type: gl-network-interfaces
options:
hostname: https://glances.<DOMAINE>
limit: 500
id: 0_1806_glnetworkinterfaces
- name: Network Activity
icon: fas fa-exchange
displayData:
cols: 2
widgets:
- type: gl-network-traffic
options:
hostname: https://glances.<DOMAINE>
limit: 500
- name: Disk IO
icon: fas fa-disc-drive
widgets:
- type: gl-disk-io
options:
hostname: https://glances.<DOMAINE>
id: 0_579_gldiskio
- name: Memory Usage
icon: fas fa-memory
widgets:
- type: gl-current-mem
options:
hostname: https://glances.<DOMAINE>
id: 0_1166_glcurrentmem
- name: System Load
icon: fas fa-tasks-alt
widgets:
- type: gl-system-load
options:
hostname: https://glances.<DOMAINE>
id: 0_1061_glsystemload
- name: System Alerts
icon: fas fa-sensor-alert
widgets:
- type: gl-alerts
options:
hostname: https://glances.<DOMAINE>
id: 0_1296_glalerts
title: CPU
description: Resource Usage Monitoring
navLinks:
- title: Home
path: /
pages:
- name: bookmarks
path: bookmark.yml
- name: news
path: news.yml
- name: cpu
path: cpu.yml
sections:
- name: CPU Usage
icon: fas fa-tachometer
displayData:
rows: 2
widgets:
- type: gl-current-cpu
options:
hostname: https://glances.<DOMAINE>
id: 0_765_glcurrentcpu
- type: gl-current-cores
options:
hostname: https://glances.<DOMAINE>
id: 1_765_glcurrentcores
- name: CPU History
icon: fas fa-microchip
displayData:
cols: 2
widgets:
- type: gl-cpu-history
options:
hostname: https://glances.<DOMAINE>
limit: 60
id: 0_1018_glcpuhistory
- name: Disk Space
icon: fas fa-hdd
widgets:
- type: gl-disk-space
options:
hostname: https://glances.<DOMAINE>
id: 0_919_gldiskspace
- name: Network Interfaces
icon: fas fa-ethernet
widgets:
- type: gl-network-interfaces
options:
hostname: https://glances.<DOMAINE>
limit: 500
id: 0_1806_glnetworkinterfaces
- name: Network Activity
icon: fas fa-exchange
displayData:
cols: 2
widgets:
- type: gl-network-traffic
options:
hostname: https://glances.<DOMAINE>
limit: 500
- name: Disk IO
icon: fas fa-disc-drive
widgets:
- type: gl-disk-io
options:
hostname: https://glances.<DOMAINE>
id: 0_579_gldiskio
- name: Memory Usage
icon: fas fa-memory
widgets:
- type: gl-current-mem
options:
hostname: https://glances.<DOMAINE>
id: 0_1166_glcurrentmem
- name: System Load
icon: fas fa-tasks-alt
widgets:
- type: gl-system-load
options:
hostname: https://glances.<DOMAINE>
id: 0_1061_glsystemload
- name: System Alerts
icon: fas fa-sensor-alert
widgets:
- type: gl-alerts
options:
hostname: https://glances.<DOMAINE>
id: 0_1296_glalerts