SPECS: nagios-plugin-check_snmp_mem.spec (NEW) - init - version 0.9

wolvverine wolvverine at pld-linux.org
Mon Mar 6 13:35:21 CET 2006


Author: wolvverine                   Date: Mon Mar  6 12:35:21 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- init
- version 0.9

---- Files affected:
SPECS:
   nagios-plugin-check_snmp_mem.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/nagios-plugin-check_snmp_mem.spec
diff -u /dev/null SPECS/nagios-plugin-check_snmp_mem.spec:1.1
--- /dev/null	Mon Mar  6 13:35:21 2006
+++ SPECS/nagios-plugin-check_snmp_mem.spec	Mon Mar  6 13:35:15 2006
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.perl
+Summary:	Nagios plugin to check system memory via SNMP
+Summary(pl):	Wtyczka Nagiosa do sprawdzania obciążenia pamieci RAM i SWAP poprzez SNMP
+Name:		nagios-plugin-check_snmp_mem
+Version:	0.9
+Release:	0.1
+License:	GPL
+Group:		Networking
+Source0:	http://www.manubulon.com/nagios/check_snmp_mem.pl
+# Source0-md5:	2b59e64724735eb5f4893b36c8057679
+URL:		http://www.manubulon.com/nagios/snmp_mem.html
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRequires:	sed >= 4.0
+Requires:	nagios-core
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_plugindir	%{_libdir}/nagios/plugins
+%define		_sysconfdir	/etc/nagios/plugins
+
+%define		_noautoreq 'perl(utils)'
+
+%description
+Checks by SNMP RAM or SWAP memory usage (Linux/Unix,Cisco,
+Pix,HP Procurve).
+
+%description -l pl
+Ta wtyczka sprawdza poprzez SNMP wykorzystanie pamieci RAM i SWAP w
+systemach Linux/Unix,Cisco, HP Procurve.
+
+%prep
+%setup -q -c -T
+install %{SOURCE0} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_plugindir}}
+install check_snmp_mem.pl $RPM_BUILD_ROOT%{_plugindir}/check_snmp_mem.pl
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_plugindir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/03/06 12:35:15  wolvverine
+- init
+- version 0.9
+
+
================================================================


More information about the pld-cvs-commit mailing list