40 lines
1.2 KiB
RPMSpec
40 lines
1.2 KiB
RPMSpec
Name: nagios-plugins-linux_stats
|
|
Version: 1.3
|
|
Release: 1mamba
|
|
Summary: Check the time the server is running
|
|
Group: Network/Monitoring
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
|
URL: http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_linux_stats/details
|
|
Source0: check_linux_stats.pl
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
Requires: nagios-nrpe
|
|
Requires: perl-Sys-Statistics-Linux
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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
|
|
* Tue May 28 2013 Davide Madrisan <davide.madrisan@gmail.com> 1.3-1mamba
|
|
- package created by autospec
|