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

No yum plugin after 2.3 #45

Closed lionking62 closed 1 year ago

lionking62 commented 3 years ago

After upgrading yum mkp to 2.3.0 and baking agents, the yum plugin are not there anymore.

HenriWahl commented 3 years ago

What exactly do you mean?

lionking62 commented 3 years ago

After upgrading to 2.3.0 and baking agents and updating agents, there is no yum plugin under /usr/lib/check_mk_agent/plugins/14400

schoekek commented 3 years ago

the same on my environment...
while omd update to version p9 this message generatet: ERROR: Failed to transform rule: (Ruleset: static_checks:yum, Folder: , Rule: 0, Value: ('yum', None, None): Dictionary.transform_value() got a non-dict: None

HenriWahl commented 3 years ago

What Checkmk version do you use?

lionking62 commented 3 years ago

I use enterprise 2.0p9

schoekek commented 3 years ago

i the same...

HenriWahl commented 3 years ago

the same on my environment... while omd update to version p9 this message generatet: ERROR: Failed to transform rule: (Ruleset: static_checks:yum, Folder: , Rule: 0, Value: ('yum', None, None): Dictionary.transform_value() got a non-dict: None

From which version of Checkmk and yum plugin did you upgrade?

Could you debug the function _transform_wato_rulesets_params() in lib/python3/cmk/update_config.py which seem to raise that error?

HenriWahl commented 3 years ago

Looks like https://github.com/HenriWahl/checkmk-agent-plugin-yum/blob/master/lib/check_mk/base/cee/plugins/bakery/yum.py works differently now?

HenriWahl commented 3 years ago

At least I can confirm that the yum snippet is missing in the baked agent.

@schoekek are you able to find any difference between the 1.6 and 2.0 bakery?

schoekek commented 3 years ago

@HenriWahl pls make this: mv local/lib/python3/cmk/check_mk/base/cee/plugins/bakery/yum.py local/lib/python3/cmk/base/cee/plugins/bakery/ after this change, the agent plugin is in Agent package...

HenriWahl commented 3 years ago

@schoekek any idea how?

schoekek commented 3 years ago

just move the file, I went after that ..

HenriWahl commented 3 years ago

Please check latest release v2.3.1 https://github.com/HenriWahl/checkmk-agent-plugin-yum/releases/tag/v2.3.1

HenriWahl commented 3 years ago

Any results? Does it work now?

HenriWahl commented 1 year ago

Nothing new...