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

Permit the state of updates required to be changed based on number of updates available #72

Open swampdogmash opened 4 months ago

swampdogmash commented 4 months ago

Currently the state is binary based on whether updates (or security updates) are available or not. It would be useful to allow the state to also be dependent on having a specific number of updates available - eg a text box to type a number in and a state if greater than that, as well as the binary value.

This way, we could be: "WARN" if between 1 and 9 and CRITICAL above 10 "OK" if between 1 and 5 and WARN above 5