ImTheLucKyOne / check_mk_emcunity

Check_MK Extensions for Dell EMC Unity Storages
GNU General Public License v3.0
5 stars 8 forks source link

Please Provide Version for CheckMK 2.0 #24

Open Eckham opened 3 years ago

Eckham commented 3 years ago

The check is not running with the new checkMK 2.0

ImTheLucKyOne commented 3 years ago

I will have a look into this. Might take me some time.

Eckham commented 3 years ago

Amazing. Thank you!

tpzltn commented 3 years ago

Hello @ImTheLucKyOne .

Same request. Script is not working with 2.0.

Many thanks for your help.

ImTheLucKyOne commented 3 years ago

Hey guys! I had a look into cmk 2.0 and well... everything is new. I have to convert everything to the new API. That will be a pain in the a** and take me some time because my spare time for scripting got drastically reduced. But do not worry. I am working on it and I will let you know when I can provide an updated version.

Eckham commented 3 years ago

There is an good article howto migrate the plugin to version 2.0 on checkMK-Page: https://blog.checkmk.com/migrating-check-plug-ins-to-checkmk-2.0

ImTheLucKyOne commented 3 years ago

Hey guys,

The new API is a f*in mess... Even tho I can understand a business to make things worse for users in order to make more money on support services, I am pretty pissed right now to say the least. Have a look at this commit which is given as "example" for plugin-"migration":

https://github.com/tribe29/checkmk/commit/b428616c0e048bc08507dd1e96217a5f14bcacb9

It is like writing the plugin again almost from scratch.

And that is just the stuff for check plugins I started working on. I did not even had a look into the WATO rules, metrics and other stuff.

I am sorry but it will take me more time to deal with this crap than I initially expected.

Regards, a used to be fan of cmk

Yogibaer75 commented 3 years ago

I made a quick conversation to 2.0 - for further tests i need some agent output as i have no access to an EMC Unity. https://github.com/ImTheLucKyOne/check_mk_emcunity/pull/26

anilvrathod1 commented 3 years ago

https://github.com/ImTheLucKyOne/check_mk_emcunity/pull/26#issuecomment-831683043

Eckham commented 3 years ago

It works. Great!

babbsimon commented 1 year ago

@Eckham I am using checkmk 2.1.0p18 and installed emcunity-3.2.mkp with mkp command . Also after install it shows

OMD[mysite]:~$ mkp list emcunity

But I cannot see that in rules . What is the problem ? what should I do now ?