Monitoring and Logging
Last updated on
Monitoring Linux VM
Section titled “Monitoring Linux VM”Configure your VM to send metrics to our STACKIT Observability and use Grafana for visualization.
-
Create an Observability instance.
-
Install and configure a monitoring agent (e.g. Telegraf) to a VM and push the metrics. Here is an example for a basic configration of Telegraf Agent in /etc/telegraf/telegraf.d/:
[[outputs.http]]## URL is the address to send metrics tourl = "[Observability Instance Receive URL]"username = "[Observability Instance Username]"password = "[Observability Instance Password]"## Data format to output.data_format = "prometheusremotewrite"[outputs.http.headers]Content-Type = "application/x-protobuf"Content-Encoding = "snappy"X-Prometheus-Remote-Write-Version = "0.1.0" -
Access your Grafana instance to set your Dashboards.
-
Creating Alerts is also available with your Observability instance.
Configure Logging of Linux VM
Section titled “Configure Logging of Linux VM”-
Configure your VM to send Logs to a centralized store.
-
Create a STACKIT Logs instance and install a collector (e.g. Grafana Alloy) to your VM.
Basic client configuration can be found here.