Skip to content

Commit b71935e

Browse files
author
Rémy Noel
committed
docs(ins): adds troubleshouting for scaleway-vmagent metrics (int-add-vmagent)
1 parent 36d49e2 commit b71935e

File tree

2 files changed

+47
-0
lines changed

2 files changed

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

pages/instances/troubleshooting/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,5 @@ productIcon: InstanceProductIcon
7474
- [Fix unreachable IPv6 RHEL-based Instances after transitioning to routed IP](/instances/troubleshooting/fix-unreachable-ipv6-rhel-based-instance)
7575
- [Fix unreachable Ubuntu Noble Instances following a reboot](/instances/troubleshooting/fix-unreachable-noble-after-reboot)
7676
- [Troubleshooting issues with faulty kernel installations](/instances/troubleshooting/reboot-from-faulty-kernel)
77+
- [Missing memory and GPU metrics on the Cockpit dashboard](/instances/troubleshooting/filling-memory-and-gpu-metrics-on-the-cockpit-dashboard)
7778
</LinksList>

0 commit comments

Comments
 (0)