Business Intelligence/Grafana: Add metric for service check
We would like to have a metric for the service check that monitors the state of a BI aggregation.
The metric should be just an integer with values 0 for OK, 1 for WARN and 2 for CRIT.
This would make it possible to visualize a BI aggregation on a Grafana dashboard (which shows only metrics and not states).
The alternative would be that the Grafana Checkmk plugin is able to display servcie states.
Comments: 2
-
24 Apr, '23
Thomas Lippert AdminHI Robert, so this request would also meet your needs?
https://features.checkmk.com/suggestions/295543/grafana-integration-status-of-hosts-services-from-checkmk -
25 Apr, '23
Robert SanderYes, a general approach to visualize service states in Grafana would also work.
For the specific "problem" I created a very quick extension, available here: https://github.com/HeinleinSupport/check_mk_extensions/tree/cmk2.1/bi_aggr_metric