/[smecontribs]/rpms/smeserver-nagios-nrpe/contribs7/smeserver-nagios-nrpe.spec
ViewVC logotype

Annotation of /rpms/smeserver-nagios-nrpe/contribs7/smeserver-nagios-nrpe.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (hide annotations) (download)
Mon Dec 6 20:52:02 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-nagios-nrpe-2_0_0-1_el4_sme, HEAD
Changes since 1.5: +8 -29 lines
* Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1
  removed scripts from specfile

1 slords 1.6 # $Id: smeserver-nagios-nrpe.spec,v 1.5 2008/11/25 16:20:26 slords Exp $
2 slords 1.3 # Authority: mweinber
3     # Name: Michael Weinberger
4    
5 slords 1.1 Summary: Nagios nrpe integration
6     %define name smeserver-nagios-nrpe
7     Name: %{name}
8 slords 1.6 %define version 2.0.0
9     %define release 1
10 slords 1.1 Version: %{version}
11 slords 1.2 Release: %{release}%{?dist}
12 slords 1.1 License: GPL
13     Group: Applications/System
14     Source: %{name}-%{version}.tar.gz
15     BuildRoot: /var/tmp/%{name}-buildroot/
16     BuildArch: noarch
17 slords 1.6 Requires: smeserver-release >= 7.3
18 slords 1.1 Requires: nagios-nrpe >= 2.5.2
19     Requires: nagios-plugins-nrpe >= 2.5.2
20     Requires: nagios-plugins
21 slords 1.2 BuildRequires: e-smith-devtools
22 slords 1.1
23     AutoReq: no
24    
25     %changelog
26 slords 1.6 * Mon Nov 17 2008 Michael Weinberger <mweinber@neddix.de> 2.0.0-1
27     removed scripts from specfile
28    
29 slords 1.1 * Mon Dec 03 2007 Michael Weinberger <mweinber@neddix.de>
30     Version 1.0.3
31     modified templateexpand in events (/etc/sudoer perms bug)
32    
33     * Thu Oct 15 2007 Michael Weinberger <mweinber@neddix.de>
34     - Initial release
35    
36     %description
37     Nagios nrpe integration
38    
39     Setting the TCP wrapper allowed hosts:
40     config setprop nrpe HostsAllow "127.0.0.1 10.203.104.0/255.255.252.0 172.22.32.0/255.255.240.0"
41     expand-template /etc/hosts.allow
42    
43     To execute plugins as root:
44     config setprop nrpe sudoPlugins yes
45     expand-template /etc/sudoers
46     And set command_prefix=/usr/bin/sudo in /etc/nagios/nrpe.cfg
47    
48    
49     To check the connection run:
50     /usr/lib/nagios/plugins/check_nrpe -H NRPE_SERVER_IP
51     Expected Output is: "NRPE v2.5.1"
52    
53    
54     %prep
55 slords 1.6 %setup
56 slords 1.1
57     %build
58    
59     %install
60     rm -rf $RPM_BUILD_ROOT
61     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
62     rm -f %{name}-%{version}-filelist
63     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
64     >> %{name}-%{version}-filelist
65     find $RPM_BUILD_ROOT -depth -type l -print |\
66     sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
67    
68     %clean
69     rm -rf $RPM_BUILD_ROOT
70    
71     %files -f %{name}-%{version}-filelist
72     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed