Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
nagios-plugins-traffic
> check_tcptraffic.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File check_tcptraffic.spec of Package nagios-plugins-traffic (Revision 6)
Currently displaying revision
6
,
show latest
%define version 2.1.0 %define release 2 %define pname check_tcptraffic Summary: A Nagios plugin to monitor the amount of TCP traffic Name: nagios-plugins-traffic Provides: nagios-plugins-check_tcptraffic Version: %{version} Release: %{release} License: GPL Group: Applications/System BuildRoot: %{_tmppath}/%{pname}-%{version}-root Source: http://www.id.ethz.ch/people/allid_list/corti/%{pname}-%{version}.tar.gz BuildArch: noarch %description check_tcptraffic is a Nagios plugin to monitor the amount of TCP traffic check_tcptraffic uses the /proc/net/dev Linux entry to compute the amount of transferred bytes from the last plugin execution (temporary data is stored in the /tmp/check_tcptraffic-iface file) %prep %setup -q -n %{pname}-%{version} %build %__perl Makefile.PL INSTALLSCRIPT=%{buildroot}%{_prefix}/lib/nagios/plugins \ INSTALLSITEMAN3DIR=%{buildroot}/usr/share/man/man3 \ INSTALLSITESCRIPT=%{buildroot}%{_prefix}/lib/nagios/plugins %__make %install %__make DESTDIR=%{buildroot} install rm -rf %{buildroot}%{_prefix}/lib/perl5 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, 0644) %doc AUTHORS Changes NEWS README INSTALL TODO COPYING VERSION %dir %{_prefix}/lib/nagios %dir %{_prefix}/lib/nagios/plugins %attr(0755, root, root) %{_prefix}/lib/nagios/plugins/%{pname} %attr(0755, root, root) %{_mandir}/man3/%{pname}.3pm* %changelog * Fri Oct 02 2009 Carsten Schoene <cs@linux-administrator.com> - 2.1.0-2 - import to BS * Fri Sep 25 2009 Matteo Corti <matteo.corti@id.ethz.ch> - 2.1.0-1 - updated to 2.1.0 * Fri Mar 21 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.0.3-0 - fixed missing usage message * Thu Mar 20 2008 Matteo Corti <matteo.corti@id.ethz.ch> - 2.0.2-0 - ePN compatibility * Fri Dec 7 2007 root <matteo.corti@id.ethz.ch> - 2.0.1-0 - updated to 2.0.1 (bug fix) * Fri Nov 30 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 2.0.0-0 - Major rewrite which is compatible with embedded perl and uses the Nagios::Plugin modules * Wed Apr 25 2007 Matteo Corti <matteo.corti@id.ethz.ch> - 1.0-1 - Initial release