File monitoring-plugins-es_system.spec of Package monitoring-plugins-es_system

#
# spec file for package monitoring-plugins-es_system
#
# Copyright (c) 2024, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define realname check_es_system
Name:           monitoring-plugins-es_system
Version:        1.13.0
Release:        0
Summary:        A Nagios plugin to monitor ElasticSearch cluster nodes
License:        GPL-2.0-or-later
Group:          System/Monitoring
URL:            https://www.claudiokuenzler.com/monitoring-plugins/check_es_system.php
#Git-Clone:     https://github.com/Napsty/check_es_system.git
Source0:        https://github.com/Napsty/check_es_system/archive/refs/tags/%{version}.tar.gz#/%{realname}-%{version}.tar.gz
BuildRequires:  nagios-rpm-macros
Requires:       curl
Requires:       jq
BuildArch:      noarch

%description
This Plugin monitors the status and resource usage of an ElasticSearch
cluster node.

%prep
%setup -q -n %{realname}-%{version}

%build

%install
install -D -m 0755 check_es_system.sh %{buildroot}/%{nagios_plugindir}/check_es_system.sh

%files
%license LICENSE
%doc README.md
%dir %{nagios_libdir}
%dir %{nagios_plugindir}/
%{nagios_plugindir}/check_es_system.sh

%changelog
openSUSE Build Service is sponsored by