Werk #14575: OpenShift: Introduce Monitoring

Component Checks & agents
Title OpenShift: Introduce Monitoring
Date Jan 18, 2023
Checkmk Editon Checkmk Cloud Edition (CCE)
Checkmk Version 2.2.0i1
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed

Checkmk now supports monitoring OpenShift clusters. The OpenShift monitoring builds on top of Checkmk's existing Kubernetes monitoring. However, the metrics are collected via methods tailored to OpenShift due to the incompatibility of the Checkmk collectors with OpenShift. This new monitoring leverages the Kubernetes API and the off-the-shelf Prometheus monitoring stack of OpenShift. Thus, no additional workload needs to be deployed in your OpenShift cluster. In particular, the OpenShift monitoring does not require the Checkmk Cluster collector.

This feature can be enabled by configuring the rule Kubernetes.

Enabling the collectors has the following benefits.

  • Allow monitoring CPU and Memory usage via the kube_memory and kube_cpu checks.
  • Enable machine level monitoring on each node.
  • Populate the Kubernetes dashboard with data.

The following check plugins are part of machine-level monitoring of a node.

  • uptime
  • cpu_loads
  • kernel_util
  • mem_used
  • mem_used (inventory plugin)
  • diskstat
  • df

While Prometheus acts as a data source for the OpenShift monitoring, this does not imply that this monitoring is compatible to any Prometheus stack. For compatibility Checkmk requires the identical set-up of Prometheus as in OpenShift. This includes scraping the same collectors, renaming metrics in the same manner, having the same recording rules and so forth. Thus, we highly recommend using the Checkmk collectors for any non-OpenShift Kubernetes environment.

To the list of all Werks