1 |
Summary: sme server integration of zabbix proxy |
2 |
Name: smeserver-zabbix-proxy |
3 |
Version: 0.3.1 |
4 |
Release: 1%{?dist} |
5 |
License: GNU GPL version 3 |
6 |
URL: http://www.zabbix.com/ |
7 |
Group: SMEserver/addon |
8 |
Source: %{name}-%{version}.tar.gz |
9 |
|
10 |
BuildArchitectures: noarch |
11 |
BuildRequires: e-smith-devtools |
12 |
BuildRoot: /var/tmp/%{name}-%{version} |
13 |
Requires: e-smith-release >= 7.0 |
14 |
Requires: fping |
15 |
Requires: zabbix-proxy-mysql |
16 |
Requires: smeserver-remoteuseraccess |
17 |
Conflicts: smeserver-zabbix-server |
18 |
Obsoletes: zabbix-server |
19 |
Obsoletes: zabbix-server-mysql |
20 |
AutoReqProv: no |
21 |
|
22 |
%description |
23 |
smserver integration of zabbix proxy |
24 |
Zabbix is an entreprise-class open source distributed monitoring |
25 |
solution |
26 |
|
27 |
%changelog |
28 |
* Thu Nov 28 2019 Daniel Berteaud <daniel@firewall-services.com> 0.3.1-1 |
29 |
- new package built with tito |
30 |
- adapt spec file for tito |
31 |
- adapt to be used with upstream zabbix packages |
32 |
* Mon Mar 21 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.3.0-1.sme |
33 |
- Add support for encryption features of Zabbix 3.0 |
34 |
|
35 |
* Wed Jun 5 2013 Daniel B. <daniel@firewall-services.com> 0.2.2-1.sme |
36 |
- Don't try to upgrade the database |
37 |
|
38 |
* Fri Apr 19 2013 Daniel B. <daniel@firewall-services.com> 0.2.1-1.sme |
39 |
- Sync config every 10 minutes |
40 |
|
41 |
* Thu Jun 14 2012 Daniel B. <daniel@firewall-services.com> 0.2.0-1.sme |
42 |
- Import to GIT |
43 |
- Only import the schema when creating the database |
44 |
|
45 |
* Fri Oct 07 2011 Daniel B. <daniel@firewall-services.com> 0.1-11 |
46 |
- Fixe 2 directives (needed for Zabbix 1.8.8) |
47 |
|
48 |
* Thu Nov 25 2010 Daniel B. <daniel@firewall-services.com> 0.1-9 |
49 |
- Requires the mysql variant of server and proxy |
50 |
|
51 |
* Tue Oct 19 2010 Daniel B. <daniel@firewall-services.com> 0.1-8 |
52 |
- Possibility to set Hostname from the DB |
53 |
|
54 |
* Thu Apr 15 2010 Daniel B. <daniel@firewall-services.com> 0.1-7 |
55 |
- Support multiple dbpatches |
56 |
|
57 |
* Mon Sep 28 2009 Daniel B. <daniel@firewall-services.com> 0.1-6 |
58 |
- Fixe /etc/sudoers template expension during zabbix-proxy-update event |
59 |
|
60 |
* Tue Mar 03 2009 Daniel B. <daniel@firewall-services.com> 0.1-5 |
61 |
- Add smeserver-remoteuseraccess as a dependencie (sudoers template problem) |
62 |
|
63 |
* Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-4 |
64 |
- Disable DB cache as it seems to cause IPC problems |
65 |
|
66 |
* Mon Mar 02 2009 Daniel B. <daniel@firewall-services.com> 0.1-3 |
67 |
- enable DB cache with StartDBSyncers directive |
68 |
|
69 |
* Sun Mar 01 2009 Daniel B. <daniel@firewall-services.com> 0.1-2 |
70 |
- Fix permissions on /var/lib/zabbix/tmp |
71 |
|
72 |
* Tue Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-1 |
73 |
- Fix createlinks |
74 |
|
75 |
* Tue Feb 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-0 |
76 |
- initial release |
77 |
|
78 |
%prep |
79 |
%setup |
80 |
|
81 |
%build |
82 |
perl ./createlinks |
83 |
%{__mkdir_p} root/var/lib/zabbix/tmp |
84 |
|
85 |
%install |
86 |
rm -rf $RPM_BUILD_ROOT |
87 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
88 |
rm -f %{name}-%{version}-filelist |
89 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
90 |
--file /var/lib/zabbix/bin/fping 'attr(0750,root,zabbix)' \ |
91 |
--file /var/lib/zabbix/bin/fping6 'attr(0750,root,zabbix)' \ |
92 |
--dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \ |
93 |
> %{name}-%{version}-filelist |
94 |
|
95 |
%files -f %{name}-%{version}-filelist |
96 |
%defattr(-,root,root) |
97 |
|
98 |
%clean |
99 |
rm -rf $RPM_BUILD_ROOT |
100 |
|
101 |
|
102 |
%postun |
103 |
#uninstall |
104 |
if [ $1 = 0 ] ; then |
105 |
/sbin/e-smith/db configuration setprop zabbix-proxy status disabled |
106 |
/etc/init.d/zabbix-proxy stop |
107 |
fi |
108 |
|
109 |
true |