Define measurement units in Grafana
Since Round Robin Database (RRD) files are nothing more than so-called time series databases, the graphing system is the duty to interpret the values correctly and, if needed, has to recalculate them.
Table of Contents
Overview
When displaying Checkmk monitoring data in Grafana, measurement units must be configured to ensure metrics are presented correctly and in a human-readable format.
Checkmk automatically interprets and formats metric values, while Grafana requires units to be specified within the dashboard panel settings. Without the appropriate units, values may be displayed without meaningful labels or scaling.
This article explains how to configure measurement units in Grafana using network interface bandwidth as an example. It demonstrates how to select the appropriate unit, such as bits per second (bits/sec), to display metrics consistently with Checkmk.
Background information regarding this subject is available in our Official documentation.
Step-by-step guide
Open Grafana, create a dashboard, and add your elements, in this case, it is “Interface 2” of the monitored host “mysite01”.
On the right side, you have “Standard Options”. Open it and click in the empty field just under “Unit”.
Bandwidth might not appear in this dialogue, so type in bits. Grafana will autocomplete, and you can choose your measurement unit:
For Interface Banthwith, you might take “bits/sec(SI) so the graph looks good:
.
For comparison, the same metrics in Checkmk.