Query regarding dnf updates

Hi

for 2.2.0p9.cee or any other version

just wish to know.
“Are there any best practices we should follow or things we should check when performing regular dnf update on RHEL 9 or Rocky Linux 9?”

please share if any suggestions regarding the same.

Thanks and Regards

Are you asking about OS updates on your Checkmk server, or about monitoring updates on DNF based systems?

For the former: Ask your trusted RHEL admin, they will have an opinion on updates. My personal preference is: Keep everything as up-to-date as possible.

1 Like

For (to be) monitored systems using DNF as package-manager the plugin https://exchange.checkmk.com/p/yum-2 works as designed ( as dnf is nothing more then a modern wrapper for yum)

So to get insight in updates for both dnf / yum based systems (in essence all RHEL-derived distributions) you want to use this plugin to CMK.

Regarding your question, and as you formulated it, system-updates should not affect your CMK installation/server, as all that is needed to run the application is delivered with the installation-package.

As i myself started out with Cre 2.0.0pXm on CentOS7, moved on to CentOS8, moved to RockyLinux8, and now RockyLinux9(.5) , keeping in check with CMK Cre versions, now running 2.3.0p24 i have never had issues with system(OS)-packages updates with CMK.

So from my perspective the ‘best practices’ is:

  • keep OS packages in check/latest (as any sysadmin should)
  • keep CheckMK version in check (honor major version)
  • if possible upgrade to minor version releases of CMK (current latest version preferred)

I hope this is the answer you were after, if not please respond with more detail as to what you want to achieve.

  • Glowsome
2 Likes

Thank you for your response, Michael. It has greatly helped me clarify my queries.

I’m curious to learn more about the plugin link you mentioned in your reply. Will it assist me in tracking OS yum updates related to a specific host, such as a Foreman or Satellite server on RHEL?

https://exchange.checkmk.com/p/yum-2

In essense the plugin does the same for yum/Dnf based operating systems as the check_apt plugin for Debian-style systems.

If installed in CMK and the plugin is delivered with the agent on a host it will report the availabillity of updates in CheckMK.

  • Glowsome

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.