Mk_ceph - I just do not understand how

I’ve been using mk_ceph with Proxmox without any issues prior to upgrading to 2.2—it hadn’t been working since the upgrade.

Running the plugin script directly didn’t give any output. When running the command manually, I’m getting an output.

ceph -n client.admin --keyring=/etc/pve/priv/ceph.client.admin.keyring -s -f json-pretty

Just found the solution and wanted to share:
There seems to be a problem with the variable $MK_CONFDIR, see

I’ve changed that line to . "/etc/check_mk/ceph.cfg" 2>/dev/null and it works again. Maybe $MK_CONFDIR has been changed in v2.2?

1 Like