From 0b834186fc9e95113fb012f1df7c6076f5e01a55 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Tue, 26 Mar 2024 14:30:46 +0100
Subject: [PATCH] eol add ceph

---
 check_eol-data/systemtools.cfg      | 24 ++++++++++++++++++++++++
 check_eol-versiondetect/detect-ceph | 14 ++++++++++++++
 2 files changed, 38 insertions(+)
 create mode 100644 check_eol-data/systemtools.cfg
 create mode 100644 check_eol-versiondetect/detect-ceph

diff --git a/check_eol-data/systemtools.cfg b/check_eol-data/systemtools.cfg
new file mode 100644
index 0000000..0d21ef1
--- /dev/null
+++ b/check_eol-data/systemtools.cfg
@@ -0,0 +1,24 @@
+# ======================================================================
+#
+# EOL Config :: system tools
+#
+# REMARK: Do not change the delivered default file.
+# You can add custom files matching "check_eol-data/*.cfg" i.e. 
+# check_eol-data/custom-[my-name].cfg 
+#
+# SYNTAX
+# [Key]:METADATA for a product (can be multiline)
+#
+# see https://endoflife.software/
+# ======================================================================
+
+
+# ----------------------------------------------------------------------
+# https://docs.ceph.com/en/latest/releases/#ceph-releases-index
+ceph:Ceph delivers object, block, and file storage in one unified system.
+ceph:website https://www.ceph.com
+# ......................................................................
+
+ceph:16.2:2023-10-01
+ceph:17.2:2024-06-01
+ceph:18.2:2025-08-01
diff --git a/check_eol-versiondetect/detect-ceph b/check_eol-versiondetect/detect-ceph
new file mode 100644
index 0000000..71913da
--- /dev/null
+++ b/check_eol-versiondetect/detect-ceph
@@ -0,0 +1,14 @@
+# ----------------------------------------------------------------------------
+# 
+# EOL - End of life detection - Warn before reaching end of life
+#
+# detect version of CEPH
+#
+# ----------------------------------------------------------------------------
+# 2024-03-26  v1.0  <axel.hahn@iml.unibe.ch>
+# ----------------------------------------------------------------------------
+
+# ----- example output
+#  ceph --version
+#  ceph version 17.2.7 (b12291d110049b2f35e32e0de30d70e9a4c060d2) quincy (stable)
+ceph --version | awk '{ print $3 }' | cut -f 1,2 -d '.'
\ No newline at end of file
-- 
GitLab