Hi All,
i found the check ceph_df is broken for Ceph 15.2 Octopus.
Since format of ceph df detail has changed, the output is no loger recognized by the check ceph_df.
The actual output for the sections is:
— RAW STORAGE —
CLASS SIZE AVAIL USED RAW USED %RAW USED
xxxx 15 TiB 11 TiB 4.2 TiB 4.3 TiB 28.32
yyyy 20 TiB 14 TiB 5.3 TiB 5.3 TiB 27.29
TOTAL 35 TiB 25 TiB 9.6 TiB 9.6 TiB 27.74
— POOLS —
POOL ID STORED (DATA) (OMAP) OBJECTS USED (DATA) (OMAP) %USED MAX AVAIL QUOTA OBJECTS QUOTA BYTES DIRTY USED COMPR UNDER COMPR
cephfs_data 2 97 GiB 97 GiB 0 B 24.91k 97 GiB 97 GiB 0 B 1.31 3.6 TiB N/A N/A 24.91k 0 B 0 B
cephfs_metadata 3 5.5 MiB 5.5 MiB 4.7 KiB 24 5.5 MiB 5.5 MiB 4.7 KiB 0 3.6 TiB N/A N/A 24 0 B 0 B
xxxx 9 2.7 TiB 2.7 TiB 1.6 KiB 696.59k 2.7 TiB 2.7 TiB 1.6 KiB 19.16 5.6 TiB N/A N/A 696.59k 0 B 0 B
yyyy 10 2.0 TiB 2.0 TiB 4.9 KiB 539.08k 2.0 TiB 2.0 TiB 4.9 KiB 22.12 3.6 TiB N/A N/A 539.08k 0 B 0 B
device_health_metrics 12 0 B 0 B 0 B 6 0 B 0 B 0 B 0 5.5 TiB N/A N/A 6 0 B 0 B
so the sections and headers are change since version 15 of ceph.
Need help to change, update and test the check for Open Monitoring Distribution Version 1.6.0p19.cre
Regards Lukas