nagios-plugins-linux/nagios-plugins-linux.spec
2024-01-06 07:31:23 +01:00

311 lines
8.0 KiB
RPMSpec

Name: nagios-plugins-linux
Version: 18
Release: 1mamba
Summary: Nagios plugins for Linux
Group: Network/Monitoring
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://github.com/madrisan/nagios-plugins-linux/wiki
Source: https://sites.google.com/site/davidemadrisan/files/nagios-plugins-linux-%{version}.tar.xz
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 all
Group: Network/Monitoring
Summary: Nagios plugins for Linux
Requires: nagios-plugins-linux-clock
Requires: nagios-plugins-linux-cpu
Requires: nagios-plugins-linux-cpufreq
Requires: nagios-plugins-linux-cswch
Requires: nagios-plugins-linux-ifmountfs
Requires: nagios-plugins-linux-intr
Requires: nagios-plugins-linux-iowait
Requires: nagios-plugins-linux-load
Requires: nagios-plugins-linux-memory
Requires: nagios-plugins-linux-multipath
Requires: nagios-plugins-linux-nbprocs
Requires: nagios-plugins-linux-network
Requires: nagios-plugins-linux-paging
Requires: nagios-plugins-linux-readonlyfs
Requires: nagios-plugins-linux-swap
Requires: nagios-plugins-linux-tcpcount
Requires: nagios-plugins-linux-temperature
Requires: nagios-plugins-linux-uptime
Requires: nagios-plugins-linux-users
%description all
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 cpufreq
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_cpufreq
%description cpufreq
This Nagios plugin displays the CPU frequency characteristics.
%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 fc
Group: Network/Monitoring
Summary: Nagios plugins for Linux - check_fc
%description fc
This Nagios plugin monitors the status of the fiber status ports.
%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 all
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%files clock
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_clock
%files cpu
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_cpu
%files cpufreq
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_cpufreq
%files cswch
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_cswch
%files fc
%defattr(-,root,root)
%{_libdir}/nagios/plugins/check_fc
%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
* Sat Nov 21 2015 Davide Madrisan <davide.madrisan@gmail.com> 18-1mamba
- update to 18
* Sat Apr 25 2015 Davide Madrisan <davide.madrisan@gmail.com> 16-1mamba
- update to 16
* Fri Aug 29 2014 Davide Madrisan <davide.madrisan@gmail.com> 15-1mamba
- update to 15
* 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