Hello, I’m new to CheckMK, so I have a question that I’m sure seems simple to you. Where can I find a how-to on how to deal with plugins that I find in the GUI under Linux, Solaris, AIX files. I want to install the mk_apt plugin and I don’t know what to do with the txt file. Unfortunately I have not found any instructions on how to deal with these files.
Read chapter 8 of Monitoring Linux - The new agent for Linux in detail
Thank you very much, this article is worth its weight in gold. I have my installation on Docker, is it correct that the directory “/usr/lib/check_mk_agent/plugins” is then under “/var/lib/docker/overlay2/a-really-huge-number/diff/usr/lib/check_mk_agent/plugins” ?
Do you have your Checkmk site in a Docker container? Or the system you want to monitor?
It’s the Checkmk site. I did the Setup according to this → Installation as a Docker container
Usually you do not need agent plugins within the Checkmk container.
But if you need them you can use docker cp to copy them into the container.
I have now moved the file “mk_apt” to the right place (/usr/lib/check_mk_agent/plugins/3600), thanks for the help, but I don’t see any difference.
I try to set up APT like in this video here → https://www.youtube.com/watch?v=KGFpXPXPc1U. I never see the point “APT normal and security updates (Linux)” and I can’t find a hint if this works at all in the RAW edition.
“Alternatively” I have set up ‘APT Updates’ under ‘Service monitoring rules’ and ‘Enforced Services’. However, the APT Updates service always remains pending and the Check_MK service says “Missing monitoring data for plugins, apt”.
Is the file executable (chmod +x mk_apt)?
-rwxr-xr-x 1 cmk cmk 1383 Oct 31 14:32 mk_apt, looks OK for me
I think I got it now…
It works on Debian and Ubuntu. You need to deploy the plugin mk_apt in order for the check to work. It is recommended to install this plug-in with asynchronous execution and at an interval with at least one hour.
I once understood that it must be available on the host on which the check is to be made and now it works…
Many thanks for the help
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.