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

Error in Checkmk 2.0 bakery #32

Closed rickbaran closed 3 years ago

rickbaran commented 3 years ago

Upgraded to version 2.0 and now get error message when you try to apply changes.

Error in agent bakery plugin file yum: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers (, line 16)

Removed package, applied to get errors to go away but after reinstallation of package get the same error message.

thorian93 commented 3 years ago

I think this might be due to Python 3 support as requested in #26 or to the new Check API in 2.0.

rickbaran commented 3 years ago

I'm speculating that as well. This issue but a big is wrench our deployment of CMK. I am assuming that if we remove the package and bake the agents that it will remove the yum plugin from all of the deployed agents? I would contribute if I could but programing is not my thing.

thorian93 commented 3 years ago

Well yes, you will loose the check altogether.

I am no programmer myself, but it is too bad, that this is an blocking upgrades and on top Henri is short on time as he said in another issue. Maybe another python dev stumbles through here.

HenriWahl commented 3 years ago

Hi there, adding to missing time there is as well no Checkmk 2.0 instance in reach to check what is going on with the plugin, so I hope someone might help out there.

thorian93 commented 3 years ago

I posted a feature idea in the Checkmk forum, maybe they can support or pick up the great work from this repository.