HenriWahl / checkmk-agent-plugin-yum

Checks for updates on RPM-based distributions via yum.
GNU General Public License v2.0
23 stars 22 forks source link

Fix YUM HISTORY command to ensure coverage and OS support #74

Closed swampdogmash closed 3 months ago

swampdogmash commented 3 months ago

in RHEL <8 yum only displays 20 entries if using "yum history". The command "yum history list all" can be used but this fails to work on RHEL8 so added a major version check and now switch command based on OS version.