diff --git a/README.md b/README.md index 4f69cbc..cf7d9ef 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # nagios-plugins-linux +A suite of Nagios/NRPE plugins for monitoring Linux servers and appliances. + diff --git a/nagios-plugins-linux.spec b/nagios-plugins-linux.spec new file mode 100644 index 0000000..f37741d --- /dev/null +++ b/nagios-plugins-linux.spec @@ -0,0 +1,58 @@ +Name: nagios-plugins-linux +Version: 10 +Release: 1mamba +Summary: Nagios plugins for Linux +Group: Network/Monitoring +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +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 +## note: run 'autospec -u -a6 nagios-plugins-linux' to get the list of build requirements. +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A suite of Nagios/NRPE plugins for monitoring Linux servers and appliances. + +%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) +%{_libdir}/nagios/plugins/check_clock +%{_libdir}/nagios/plugins/check_cpu +%{_libdir}/nagios/plugins/check_ifmountfs +%{_libdir}/nagios/plugins/check_iowait +%{_libdir}/nagios/plugins/check_load +%{_libdir}/nagios/plugins/check_memory +%{_libdir}/nagios/plugins/check_multipath +%{_libdir}/nagios/plugins/check_nbprocs +%{_libdir}/nagios/plugins/check_network +%{_libdir}/nagios/plugins/check_paging +%{_libdir}/nagios/plugins/check_readonlyfs +%{_libdir}/nagios/plugins/check_swap +%{_libdir}/nagios/plugins/check_tcpcount +%{_libdir}/nagios/plugins/check_temperature +%{_libdir}/nagios/plugins/check_uptime +%{_libdir}/nagios/plugins/check_users +%doc AUTHORS COPYING README + +%changelog +* Mon May 19 2014 Davide Madrisan 10-1mamba +- package created using the webbuild interface