Check rhel-version

Overview

This plugin lets you track if RHEL (and compatible) is End-of-Life (EOL). To compare against the current/installed version of RHEL, the check has to run on the RHEL server itself.

Note:

  • Also works for Alma, CentOS, CentOS Stream, Oracle, Rocky, etc., but (currently) reports the EOL date for RHEL.

  • Doesn’t work on Fedora Workstation or Fedora Server (actually: works, but can’t report EOL here).

Fact Sheet

Check Plugin Download

https://github.com/Linuxfabrik/monitoring-plugins/tree/main/check-plugins/rhel-version

Check Interval Recommendation

Once a day

Can be called without parameters

Yes

Compiled for

Linux

Help

usage: rhel-version [-h] [-V] [--always-ok] [--path PATH]

Tracks if RHEL is EOL.

options:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit
  --always-ok    Always returns OK.

Usage Examples

./rhel-version

Output:

Rocky Linux 8.7 (Green Obsidian) (EOL 2029-05-31)

States

  • If wanted, always returns OK,

  • else returns WARN if Software is EOL

Perfdata / Metrics

Name

Type

Description

rhel-version

Number

Installed RHEL version as float. „8.7“ becomes „87“.

Credits, License