Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concept: Use full graph definitions from checkMK metric system #12

Open
LarsMichelsen opened this issue May 3, 2019 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@LarsMichelsen
Copy link
Member

As user of the Grafana checkMK datasource I want to be able to add the predefined graphs to my Grafana dashboard.

Acceptance:

  • We have a rough concept how the graph definitions (units, scaling) from checkMK can be transported to Grafana
  • The transported information is not persited within Grafana. Changes between checkMK updates are applied to Grafana.

Some background information about the checkMK graphing logic:

Each service that has metrics may have a dynamic number of graphs in the checkMK graphing system. The graphs are created based on the the collection of metrics and defined graphs in Check_MK. Most standard graphs are defined in https://github.com/tribe29/checkMK/blob/master/cmk/gui/plugins/metrics/check_mk.py.

When the graphs of a service are requested by a user the check_mk graphing system takes the metrics of the service as input and searches all entries in "graph_info". Each graph_info entry that can be fully populated with the available metrics is rendered for this service.

Example: A service has a metric fan_speed=3200. The graph_info["fan_speed"] entry only requires the "fan_speed" metric to be available. This graph can then be rendered. The metrics list also tells the graph how to draw the different metrics (e.g. as lines or stacked)

Another important structure is the metric_info. It holds entries for each metrics to tell the graphing system which units or colors to use for the single metrics.

The precomputed information can be fetched from the checkMK metric system using the available API calls.

@LarsMichelsen LarsMichelsen added the enhancement New feature or request label May 3, 2019
@LarsMichelsen LarsMichelsen added this to the 1.1.0 milestone May 3, 2019
@LarsMichelsen
Copy link
Member Author

Next steps: Research.

  • Which kind of plugin is needed?
  • What is possible with grafana?

@LarsMichelsen LarsMichelsen modified the milestones: 1.1.0, 1.2.0 Sep 23, 2019
@BenediktSeidl BenediktSeidl removed this from the 1.2.0 milestone May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants