52 lines
1.7 KiB
RPMSpec
52 lines
1.7 KiB
RPMSpec
Name: nagios-plugins-linux_stats
|
|
Version: 1.5
|
|
Release: 1mamba
|
|
Summary: Check the time the server is running
|
|
Group: Network/Monitoring
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://exchange.nagios.org/directory/plugins/operating-systems/linux/check_linux_stats/details/
|
|
# NOTE: versioned upstream download not available, manually renamed
|
|
Source0: https://exchange.nagios.org/wp-content/uploads/project-files/2011/04/check_linux_stats.pl/check_linux_stats-%{version}.pl
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libperl
|
|
BuildRequires: perl(utils)
|
|
BuildRequires: perl-Sys-Statistics-Linux
|
|
BuildRequires: perl-devel
|
|
## AUTOBUILDREQ-END
|
|
Recommends: nagios-nrpe
|
|
|
|
%description
|
|
This nagios plugins checks the linux system performance (cpu, mem, load, disk usage, disk io, network usage, open files and processes).
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
install -d %{buildroot}%{_libdir}/nagios/plugins
|
|
install -p -m 0755 %{S:0} %{buildroot}%{_libdir}/nagios/plugins/check_linux_stats.pl
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/nagios/plugins/check_linux_stats.pl
|
|
|
|
%changelog
|
|
* Sat Dec 13 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5-1mamba
|
|
- update to 1.5
|
|
|
|
* Wed Jul 23 2025 Automatic Build System <autodist@openmamba.org> 1.3-3mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue Jul 22 2025 Automatic Build System <autodist@openmamba.org> 1.3-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Tue May 28 2013 Davide Madrisan <davide.madrisan@gmail.com> 1.3-1mamba
|
|
- package created by autospec
|