Following the problem here: Proxmox mit Ceph I am in the same position as original poster.
The plugin is in the directory but I see no output in Check_MK.
I run it as sh ./mk_ceph.txt and there is no output.
I suspect that I have not followed this instruction as I really cannot figure out what it is asking me to do:
Background: Ceph is running great on a 3-node Proxmox Cluster and the Proxmox OMD checks are running great (all green).
Iām trying to add the CEPH plugin but am just missing some fundamentals about HOW to do so. I have copied it to the plugins directory as outlined in the README but no output happens when I refresh services for this server:
These plugins can be installed in the plugins directory of the Linux agent
in /usr/lib/check_mk_agent/plugins/. Please only install the plugins that
you really need.
My GUESS is that I should add a āUSER = client.adminā into one - or both - of these ceph.conf files. However I am unclear if client.admin is meant to be entered exactly like that, or if it refers to some other username that I ought to know about - but do not.
@herzkerl the environment variable $MK_CONFDIR is set by the agent on initialization, so all plugins run by the agent can use it. If you run the script manually, you need to set the variable manually first. The default value is /etc/check_mk/.
Your change just works around the missing environment variable, which is not a fix or solution.
I only upgraded both our server and the agents to 2.2.xāI didnāt change any other settings. Why would the $MK_CONFDIR variable work prior to the upgrade, but stop working when having upgraded?
I installed that package a while ago, but I donāt know what to do next, to be honest. I just read the documentation again and couldnāt find an answer to it. Could you please point me in the right direction?
The extension comes with an agent plugin. You either deploy that via agent bakery or manually by copying it from $OMD_ROOT/local/share/agents/plugins to /usr/lib/check_mk_agent/plugins/60 on your Ceph nodes.
The agent plugin currently has no configuration and requires python3-rados to be installed. It also needs /etc/ceph/ceph.conf and /etc/ceph/ceph.client.admin.keyring. This will be configurable in the future.
Thatās what I thought, but yours lacks the three Checks I mentioned above. While I donāt think āCeph Pool SUMMARYā has any useful information, the other two do: