[Check_mk (english)] cmk plugin for ceph mimic broken

Hi all,

unfortunately I boasted CMK to be able to handle ceph natively with 1.5 while talking to one of our storage guys.
Now, we are using Mimic (version 13.X) of ceph and they changed the output of "ceph df" in Mimic...:frowning:
Now, (at least) the df check is broken. Has anyone already fixed that (before I start patching the code)?
Officially I suggest using the json-option of ceph df like mentioned here:

But this means patching the agent AND the check code.

Any thoughts?

Best regards
Maik

Hi all,

I felt like fixing the issue myself. If you are in need of tests working with Mimic, (ab)use the files linked here:
https://hessenbox.uni-kassel.de/dl/fiRoyzHX3vriWmEWzCmask4G/ceph_new.zip

They should work with older versions of ceph, too, but I wasn't able to test it.

Best regards
Maik

···

Am 30.10.2018 um 10:11 schrieb Dr. Maik Götte:

Hi all,

unfortunately I boasted CMK to be able to handle ceph natively with 1.5 while talking to one of our storage guys.
Now, we are using Mimic (version 13.X) of ceph and they changed the output of "ceph df" in Mimic...:frowning:
Now, (at least) the df check is broken. Has anyone already fixed that (before I start patching the code)?
Officially I suggest using the json-option of ceph df like mentioned here:
output of 'ceph df' seems to be changed in mimic-Release · Issue #42 · ceph/ceph-nagios-plugins · GitHub
But this means patching the agent AND the check code.

Any thoughts?

Best regards
Maik

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Our extension for monitoring Ceph uses the JSON output of the ceph
commands and works with Mimic:

https://github.com/HeinleinSupport/check_mk/tree/master/ceph

I do not know why the Check_MK team started to develop their own Ceph
checks…

Regards

···

Am 30.10.18 um 10:11 schrieb Dr. Maik Götte:

Officially I suggest using the json-option of ceph df like mentioned here:

--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Zwangsangaben lt. §35a GmbHG:
HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin

Hello,

Dr. Maik Götte maik.goette at uni-kassel.de
wrote on Tue Oct 30 16:22:35 CET 2018

I felt like fixing the issue myself. If you are in need of tests
working with Mimic, (ab)use the files linked here:
https://hessenbox.uni-kassel.de/dl/fiRoyzHX3vriWmEWzCmask4G/ceph_new.zip

That fixes ceph_df with Check_MK 1.5.0p11 Raw for me.

Thank you.

pcfe

···

--
------------------------ http://www.pcfe.net/ ------------------------
     Patrick C. F. Ernzer | e-mail: pcfe@pcfe.net
--go-and-make-your-own-disclaimer--+----------------------------------
"Could you fax over a copy?"
"No, I can't fax because of where I live"
"Where do you live?"
"The 21st century"
                          -- @mc_hankins