How to send metrics & logs from Elastic Metal servers to Cockpit
Monitoring your dedicated servers with Scaleway Cockpit offers detailed information about performance and health, ensuring optimal functionality and proactive issue resolution.
Cockpit provides a user-friendly interface for real-time monitoring of CPU, memory, disk usage, and network activity, enhancing the reliability and performance of bare metal servers.
Before you start
To complete the following actions, you must have:
- A Scaleway account logged into the console (External link)
- Owner status or IAM permissions allowing you to perform actions in the intended Organization
- An Elastic Metal or Dedibox server running on a Linux operating system
Accessing Cockpit
- Create a token with the
pushpermission for metrics/logs to Cockpit by following the instructions provided in the dedicated documentation. - Configure Grafana Alloy to push metrics/logs to Cockpit. Refer to the official documentation for detailed instructions.
- Access your Cockpit dashboards in Grafana.
Importing dashboards
To monitor your bare metal servers, you can import pre-configured dashboards from the Grafana dashboard repository. One such dashboard is the Node Exporter Full dashboard, offering detailed server metrics. Follow these steps to import it:
- Visit the Node Exporter Full dashboard (External link) on the Grafana dashboard repository.
- Copy the dashboard ID by clicking Copy ID.
- In Cockpit, navigate to the Dashboards section.
- Click Import and paste the copied dashboard ID.
- Follow the prompts to complete the import process.
This process allows you to push metrics and logs to Scaleway’s Cockpit (Grafana) and monitor your Elastic Metal servers with real-time tracking of their health and performance.