Plugin download question

Hey, I’ve been fixing and improving a yum check plugin by HenriWahl, which is like the apt one but for yum.

Is there a way to make a custom client side plugin show in Setup -> Agents -> Linux, Solaris, AIX files under the Plug-ins section? As it’s useful to be able to use the download links in there to automate the installation of the agent plus the plugins each host needs.

I’m running Checkmk Raw Edition 2.4, is it possible for a custom one to show in there, or is that not a Raw Edition feature?

Regarding the yum plugin, i had to manually symlink the plugin to show up in the correct section (by default) example:

ln -s /opt/omd/sites/mysite/local/share/check_mk/agents/plugins/yum /opt/omd/versions/2.3.0p24.cre/share/check_mk/agents/plugins/yum

Would make it show up in the Setup → agents → Linux,Solaris, AIX files -section

… replace the above with your active version…

Just remember, whenever you upgrade your CMK version you will have to adapt this symlink.

Exactly my reason i did this, as i deploy a/the agent and plugins via Ansible from a RAW CMK server.

If i remember correctly my agent-deployment (and -plugins) playbook was posted somewhere on the forum.
Found it again: Howto: Ansible Playbook for updating (linux) Agent and plugins(stock only) CRE only

As i’m now on CRE 2.3.0p35 , its still unchanged from last post.
and i use it each time :slight_smile:

  • Glowsome
2 Likes

That worked a treat, I added this as a script in my docker setup on the checkmk pre-entrypoint, so it auto links them when I update the container.

#!/bin/bash
ln -s /opt/omd/sites/icy/local/share/check_mk/agents/plugins/yum /omd/sites/icy/version/share/check_mk/agents/plugins/yum
ln -s /opt/omd/sites/icy/local/share/check_mk/agents/plugins/proxmox_bs /omd/sites/icy/version/share/check_mk/agents/plugins/proxmox_bs

Thanks for the tip.

1 Like

Hi @FingerlessGloves ,

Would you be so kind as to mark the answer as ‘solution’ ?

This way, you thank the person who helped you and also indicate that the question has been resolved. This, in turn, helps others who come across the same question.

Solution

Thank you!

  • Glowsome

Done, hopefully there’s a better solution one day, but this works nicely for now.

1 Like