nagios-plugins-linux/nagios-plugins-linux.spec

253 lines
6.2 KiB
RPMSpec

Name: nagios-plugins-linux
Version: 14
Release: 1mamba
Summary: Nagios plugins for Linux
Group: Network/Monitoring
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://sites.google.com/site/davidemadrisan/nagios-monitoring/linux-os
Source: https://sites.google.com/site/davidemadrisan/files/nagios-plugins-linux-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A suite of Nagios/NRPE plugins for monitoring Linux servers and appliances.
%package clock
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_clock
%description clock
This Nagios plugin returns the number of seconds elapsed between local time and Nagios time.
%package cpu
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_cpu
%description cpu
This Nagios plugin checks the CPU (user mode) utilization.
%package cswch
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_cpu
%description cswch
This Nagios plugin monitors the total number of context switches per second across all CPUs.
%package ifmountfs
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_ifmountfs
%description ifmountfs
This Nagios plugin checks whether the given filesystems are mounted.
%package intr
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_intr
%description intr
This Nagios plugin monitors the interrupts serviced per second, including unnumbered architecture specific interrupts.
%package iowait
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_iowait
%description iowait
This Nagios plugin monitors the I/O wait bottlenecks.
%package load
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_load
%description load
This Nagios plugin checks the current system load average.
%package memory
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_memory
%description memory
This Nagios plugin checks the memory usage.
%package multipath
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_multipath
%description multipath
This Nagios plugin checks the multipath topology status.
%package nbprocs
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_nbprocs
%description nbprocs
This Nagios plugin displays the number of running processes per user.
%package network
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_network
%description network
This Nagios plugin displays some network interfaces statistics.
%package paging
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_paging
%description paging
This Nagios plugin checks the memory and swap paging.
%package readonlyfs
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_readonlyfs
%description readonlyfs
This Nagios plugin checks for readonly filesystems.
%package swap
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_swap
%description swap
This Nagios plugin checks the swap usage.
%package tcpcount
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_tcpcount
%description tcpcount
This Nagios plugin checks the tcp network usage.
%package temperature
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_temperature
%description temperature
This Nagios plugin monitors the hardware's temperature.
%package uptime
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_uptime
%description uptime
This Nagios plugin checks how long the system has been running.
%package users
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_users
%description users
This Nagios plugin displays the number of users that are currently logged on.
%debug_package
%prep
%setup -q
%build
%configure --libexecdir=%{_libdir}/nagios/plugins
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
#%doc AUTHORS COPYING README
%files clock
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_clock
%files cpu
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_cpu
%files cswch
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_cswch
%files ifmountfs
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_ifmountfs
%files intr
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_intr
%files iowait
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_iowait
%files load
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_load
%files memory
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_memory
%files multipath
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_multipath
%files nbprocs
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_nbprocs
%files network
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_network
%files paging
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_paging
%files readonlyfs
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_readonlyfs
%files swap
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_swap
%files tcpcount
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_tcpcount
%files temperature
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_temperature
%files uptime
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_uptime
%files users
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_users
%changelog
* Sun Aug 10 2014 Automatic Build System <autodist@mambasoft.it> 14-1mamba
- automatic update by autodist
* Tue Jul 22 2014 Davide Madrisan <davide.madrisan@gmail.com> 13-1mamba
- update to 13
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 12-2mamba
- increare release to update 12-1mamba version release with old source from 10
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 12-1mamba
- update to 12
* Mon May 19 2014 Davide Madrisan <davide.madrisan@gmail.com> 10-1mamba
- package created using the webbuild interface