HenriWahl / checkmk-agent-plugin-yum

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

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

Closed swampdogmash closed 7 months ago

swampdogmash commented 7 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.