# SPEC file overview: # https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/#con_rpm-spec-file-overview # Fedora packaging guidelines: # https://docs.fedoraproject.org/en-US/packaging-guidelines/ %global shortname check_es_system Name: nagios-plugins-check_es_system Version: 1.13.0 Release: 1.ndias%{?dist} Summary: Plugin to check status and resource usage of an ElasticSearch cluster node License: GPL-2.0-only URL: https://www.claudiokuenzler.com/monitoring-plugins/check_es_system.php Source0: https://github.com/Napsty/check_es_system/archive/refs/tags/%{version}.tar.gz#/%{shortname}-%{version}.tar.gz BuildArch: noarch Requires: curl, jq %description This is an open source monitoring plugin to check the status of an ElasticSearch cluster node. Besides the classical status check (green, yellow, red) this plugin also allows to monitor disk or memory usage of Elasticsearch. This is especially helpful when running Elasticsearch in the cloud (e.g. Elasticsearch as a service) because, as ES does not run on your own server, you cannot monitor the disk or memory usage. This is where this plugin comes in. Just tell the plugin how much resources (disk space, memory capacity) you have available (-d) and it will alarm you when you reach a threshold. Besides that, the plugin offers additional (advanced) checks of a Elasticsearch node/cluster (Java Threads, Thread Pool Statistics, Master Verification, Read-Only Indexes, ...). %prep %setup -q -n %{shortname}-%{version} %build %install install -D -p -m 755 check_es_system.sh %{buildroot}/%{_libdir}/nagios/plugins/check_es_system.sh %files %doc README.md %license LICENSE %{_libdir}/nagios/plugins/%{shortname}.sh %changelog * Thu Nov 13 2025 Nuno Dias - 1.13.0-1.ndias - Version 1.13.0