troubleshoot icon indicating copy to clipboard operation
troubleshoot copied to clipboard

Troubleshoot Host Collector - System Packages Version Compare

Open chasehainey opened this issue 2 years ago • 1 comments

Describe the rationale for the suggested feature.

The host collector for system packages allows you to reference {{ .Version }} of a system package, but you're unable to do a comparison for if you need the package to be at least a certain version or not.

Describe the feature

Be able to do comparisons like (for MySQL): {{ .Version }} > 5.7.41-0ubuntu0.18.04.1 {{ .Version }} >= 5.7.41-0ubuntu0.18.04.1 {{ .Version }} < 5.7.41-0ubuntu0.18.04.1 {{ .Version }} <= 5.7.41-0ubuntu0.18.04.1

Describe alternatives you've considered

Additional context

A vendor has requested this feature

chasehainey avatar May 01 '23 14:05 chasehainey