mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-24 03:13:47 +01:00
Automatic commit of package [nagios-okplugin-check_smssend] release [0.0.9-1].
This commit is contained in:
parent
bbfaac455c
commit
b72f03415a
42
check_smssend/nagios-okplugin-check_smssend.spec
Normal file
42
check_smssend/nagios-okplugin-check_smssend.spec
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
|
Summary: A Nagios plugins to check if /var/spool/smssend/incoming has any new messages
|
||||||
|
Name: nagios-okplugin-check_smssend
|
||||||
|
Version: 0.0.9
|
||||||
|
Release: 1%{?dist}
|
||||||
|
License: GPLv2+
|
||||||
|
Group: Applications/System
|
||||||
|
URL: http://opensource.is/trac/wiki/check_smssend
|
||||||
|
Source0: http://opensource.ok.is/trac/browser/nagios-plugins/check_multipath/releases/%{name}-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
Packager: Pall Sigurdsson <palli@opensource.is>
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
|
A Nagios plugins to check if /var/spool/smssend/incoming has any new messages
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
perl -pi -e "s|/usr/lib|%{_libdir}|g" nrpe.d/check_smssend.cfg
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
install -D -p -m 0755 check_smssend %{buildroot}%{_libdir}/nagios/plugins/check_smssend
|
||||||
|
install -D -p -m 0755 nrpe.d/check_smssend.cfg %{buildroot}/etc/nrpe.d/check_smssend.cfg
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc LICENSE
|
||||||
|
%{_libdir}/nagios/plugins/*
|
||||||
|
/etc/nrpe.d/check_nagios.cfg
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 12 2012 Pall Sigurdsson <palli@opensource.is> 0.0.9-1
|
||||||
|
- new package built with tito
|
||||||
|
|
1
check_smssend/nrpe.d/check_smssend.cfg
Normal file
1
check_smssend/nrpe.d/check_smssend.cfg
Normal file
@ -0,0 +1 @@
|
|||||||
|
command[check_smssend]=/usr/lib64/nagios/plugins/check_smssend
|
Loading…
Reference in New Issue
Block a user