Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-gwfl
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
nagios-plugins-gwfl.spec
@@ -0,0 +1,65 @@ +# +# spec file for package nagios-plugins-gwfl +# +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# + +# norootforbuild + +Name: nagios-plugins-gwfl +Summary: SNMP checks to monitor a lot of HP ProLiant systems +Version: 2.1 +Release: 1 +License: GPL v2 only +Group: System/Monitoring +%if 0%{?suse_version} > 1020 +BuildRequires: libcurl-devel +%else +BuildRequires: curl-devel +%endif +BuildRequires: net-snmp-devel +BuildRequires: gcc-c++ +BuildRequires: tcpd-devel +Source: gwfl-nagios-plugins-%version.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%define libexecdir %_prefix/lib/nagios/plugins + +%description +The GWFL Nagios Plugins introduced more advanced monitoring, with +better data consolidation, meaning less performance and administration +overhead. Also, the structure of the plugins meant anyone with a +little C knowledge could easily write more plugins using the SNMPGET +function included in the GWFL plugins, and using a similar coding +format to the plugins provided. + +SNMP GETNEXT functionality is included, so that number of +CPUs/PSUs/Drives need not be specified, the plugins will determine +this themselves. + + +%prep +%setup -q -n gwfl-nagios-plugins-%version + +%build +make %{?jobs:-j%jobs} +make apache + +%install +make install DESTDIR=%buildroot/%libexecdir/ +pushd apache +make install DESTDIR=%buildroot/%libexecdir/ +popd + +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root) +%doc ChangeLog README LICENSE +# avoid build dependecy of nagios - own the dirs +%dir %_prefix/lib/nagios +%dir %libexecdir +%libexecdir/* + +%changelog