Monitoring rook-ceph cluster on Openshift via CheckMK

Hi Team,

We have an enterprise edition of checkmk i.e. 2.0.0p23 (CEE)

We have environments on OpenShift which uses rook-ceph storages. We would like to monitor the general Ceph status, Ceph OSD pod statuses, Ceph Monitor pod Statuses and Ceph Manager pod status.
I see that there is Kubernetes monitoring and also Ceph monitoring supported by CheckMK. I would like to know how to specifically monitor the Ceph pods (OSD, Mon, MGR) statuses running on OpenShift.

Hello muzi,

Not sure if this works for OpenShift, but on Proxmox this works:

There is a script called “mk_ceph” in /usr/lib/check_mk_agent/plugins that you need to customize.

As you would not be able to deploy the checkmk agent on the OpenShift nodes (usually) the current approach with the agent plugin will not work.

Is the Ceph REST API exposed? A special agent could be written that fetches the necessary data from there.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.