HenriWahl / checkmk-agent-plugin-yum

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

Problem with Version 1.4.0p15 #8

Closed Lucadrio closed 5 years ago

Lucadrio commented 6 years ago

Hello,

It´s me again... the newest Check_MK Update (Enterprise 1.4.0p15) broke the yum-plugin again.

grafik

Error Code: ` Failed to bake the agents: Error creating agent for vangogh: Error creating cdc69d79930a0da8/linux_rpm agent for vangogh: Error in bakery plugin "yum": global name 'local_agents_dir' is not defined

Traceback (most recent call last): File "/omd/sites/nordakademie/share/check_mk/modules/agent_bakery.py", line 274, in execute_bakery_plugin bakery_info[plugin_name]["bake_function"](opsys, conf, conf_dir, plugins_dir) File "/omd/sites/nordakademie/local/share/check_mk/agents/bakery/yum", line 9, in bake_yum shutil.copy2(local_agents_dir + "/plugins/yum", target_dir + "/yum") NameError: global name 'local_agents_dir' is not defined .. `

Thanks for fixing in advance!

Cheers, Luca

HenriWahl commented 6 years ago

Please check the latest uploaded version 2.0.5.

bjorns163 commented 6 years ago

just tested version 2.0.7 on 1.4.0p34 works without any issues

HenriWahl commented 5 years ago

Works even on the latest 1.5 release so I consider this to be ready to close.