SPECS: nagios-plugin-check_nagios_summary.spec (NEW) - new
glen
glen at pld-linux.org
Wed May 7 00:29:29 CEST 2008
Author: glen Date: Tue May 6 22:29:29 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
nagios-plugin-check_nagios_summary.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/nagios-plugin-check_nagios_summary.spec
diff -u /dev/null SPECS/nagios-plugin-check_nagios_summary.spec:1.1
--- /dev/null Wed May 7 00:29:29 2008
+++ SPECS/nagios-plugin-check_nagios_summary.spec Wed May 7 00:29:24 2008
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+# TODO
+# - inetd service for other end
+%define plugin check_nagios_summary
+Summary: Distributed Nagios monitoring enabler
+Name: nagios-plugin-%{plugin}
+Version: 0.0.26
+Release: 0.1
+License: GPL
+Group: Networking
+Source0: http://www.vanheusden.com/check_nagios_summary/%{plugin}-%{version}.tgz
+# Source0-md5: c28aeb0029afc7e839ade6e85f47a25b
+Source1: %{plugin}.cfg
+URL: http://patrick.proy.free.fr/nagios/snmp_load.html
+BuildRequires: libstdc++-devel
+Requires: nagios-core
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _plugindir %{_libdir}/nagios/plugins
+%define _sysconfdir /etc/nagios/plugins
+
+%description
+check_nagios_summary enables you to do perform distributed monitoring
+using Nagios. With this plugin, a Nagios system can check and
+summarize the status of other (satelite) Nagios systems.
+
+%prep
+%setup -q -n %{plugin}-%{version}
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ CXX="%{__cxx}" \
+ DEBUG="%{rpmcxxflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_plugindir}}
+install %{plugin} $RPM_BUILD_ROOT%{_plugindir}
+%{__sed} -e 's, at plugindir@,%{_plugindir},' %{SOURCE1} > $RPM_BUILD_ROOT%{_sysconfdir}/%{plugin}.cfg
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc license.txt readme.txt
+%attr(640,root,nagios) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{plugin}.cfg
+%attr(755,root,root) %{_plugindir}/%{plugin}
+
+%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 2008-05-06 22:29:24 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list