CMK version: Checkmk Raw Edition 2.3.0p18 OS version: Linux Debian 12
I’m trying to install the apt plugin. Could you explain me how to use it? It is default on the server and I can create rules for that, but the service is not shown on any host.
Do I have something to install on the hosts? I thought not, because it was default in checkmk.
If you are talking about the agent plugin mk_apt, then yes: you have to install that on the hosts you want to monitor.
Put it in the directory /usr/lib/check_mk_agent/plugins, or even better: create a number directory below that and put the mk_apt plugin there, e.g. /usr/lib/check_mk_agent/plugins/7200/mk_apt and make it executable.
This way the plugin is not run every minute but only every 7.200 seconds (=2 hours).
I was talking about the agent plugin mk_apt which comes with the checkmk server software and is originally located in the directory ~/share/check_mk/agents/plugins of the site on the checkmk server. It just lies there so you can copy it to the hosts you want to monitor.
That agent plugin is meant for Ubuntu hosts. It checks if there are any software packages on that Ubuntu host that need updates.
If you want to use it, you need to copy that file from the checkmk server to the Ubuntu host you want to monitor into the directory I mentioned above.
(I don’t know where to put agent plugins on Windows hosts, but this plugin is Ubuntu-only anyway and wouldn’t run on Windows.)
There is no MKP involved. Unless you are talking about something different
You are welcome. Yes, I also saw that MKP on the exchange. I don’t know the exact purpose or difference to the mk_apt that comes with checkmk. The one from the exchange was first released for checkmk 1.4 or even earlier. Maybe at that time checkmk had no such apt plugin at all. I don’t know. Or the one from the exchange is “cooler” somehow.
Still: MKPs are only for the server side. The monitored hosts don’t know what to do with them. But very often the MKPs also include an agent plugin which then needs to be copied from the server to the monitored host. This copying can either be done manually or via the agent bakery (which doesn’t exist in the RAW edition).
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.