|
| 1 | +--- |
| 2 | +title: Missing memory and GPU metrics on the Cockpit dashboard |
| 3 | +description: Steps to troubleshoot Instance metrics visibility on Cockpit. |
| 4 | +tags: cockpit instance |
| 5 | +dates: |
| 6 | + validation: 2025-11-13 |
| 7 | + posted: 2025-11-13 |
| 8 | +--- |
| 9 | + |
| 10 | +## Problem |
| 11 | +The memory pane in the `Instance Overview` dashboard or the `Instance GPUs` |
| 12 | +dashboard do not display any metrics. |
| 13 | + |
| 14 | +### Symptoms |
| 15 | +- No metrics are displayed in the `Instance Overview` Cockpit dashboard. |
| 16 | +- No GPU metrics appear in the `Instances GPUs` Cockpit dashboard (for offers with GPUs only) |
| 17 | + |
| 18 | +## Cause |
| 19 | +The `scaleway-vmagent` service is either: |
| 20 | +- Not installed on the instance, or |
| 21 | +- Not running properly. |
| 22 | +<Message type="important"> |
| 23 | + The `scaleway-vmagent` is necessary to collect and report some system metrics (including memory and GPU usage) to the Cockpit Instance dashboards. |
| 24 | +</Message> |
| 25 | + |
| 26 | +## Solution |
| 27 | +- Verify that the `scaleway-vmagent` service is running and enabled: |
| 28 | + ```bash |
| 29 | + systemctl status scaleway-vmagent |
| 30 | + ``` |
| 31 | +- If missing, install the `scaleway-vmagent` package: |
| 32 | + |
| 33 | + For Ubuntu: Check that the [Scaleway PPA](https://launchpad.net/~scaleway/+archive/ubuntu/stable) is added before installing: |
| 34 | + |
| 35 | + ```bash |
| 36 | + sudo add-apt-repository ppa:scaleway/stable |
| 37 | + sudo apt update |
| 38 | + sudo apt install scaleway-vmagent |
| 39 | + ``` |
| 40 | + |
| 41 | + For RHEL-based distributions: check that the [Scaleway COPR repository](https://copr.fedorainfracloud.org/coprs/g/scaleway/stable/) is enabled before installing: |
| 42 | + ```bash |
| 43 | + dnf copr enable @scaleway/instance |
| 44 | + dnf install scaleway-vmagent |
| 45 | + ``` |
| 46 | +<Message type="note"> |
| 47 | + On RHEL, services are not started after install. You may either start `scaleway-vmagent` manually, or wait for the next boot. |
| 48 | +</Message> |
| 49 | + |
| 50 | +Once the service is running, metrics should begin appearing in the Cockpit dashboards within a few minutes. |
0 commit comments