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

Executing yum with --no-plugins disables priorities plugin #48

Closed spenneb closed 1 year ago

spenneb commented 2 years ago

Hi, the yum agent plugin calls yum with the option --no-plugins which normally is fine. But I am using the priorities plugin to ensure updates from specific repositories. Disabling this plugin detects updates which are disabled. This should be a configurable option. Maybe using --disable-plugin=[list] to make this configurable.

HenriWahl commented 1 year ago

AFAIK there is no way to send options to the agent as the server gets its raw output as it is.

spenneb commented 1 year ago

True. But this could be made configurable via the agent bakery.

HenriWahl commented 1 year ago

@spenneb you are right, this way it should work. I don't have the resources to include this but pull requests are welcome.