1 |
# $Id: smeserver-zabbix-agent.spec,v 1.26 2010/08/04 14:19:32 vip-ire Exp $ |
# $Id: smeserver-zabbix-agent.spec,v 1.33 2012/06/07 16:23:16 vip-ire Exp $ |
2 |
# Authority: vip-ire |
# Authority: vip-ire |
3 |
# Name: Daniel Berteaud |
# Name: Daniel Berteaud |
4 |
|
|
5 |
%define name smeserver-zabbix-agent |
%define name smeserver-zabbix-agent |
6 |
%define version 0.1 |
%define version 0.1 |
7 |
%define release 45 |
%define release 52 |
8 |
Summary: sme server integration of zabbix agent |
Summary: sme server integration of zabbix agent |
9 |
Name: %{name} |
Name: %{name} |
10 |
Version: %{version} |
Version: %{version} |
73 |
Patch57: smeserver-zabbix-agent-0.1-userparam_diskio.patch |
Patch57: smeserver-zabbix-agent-0.1-userparam_diskio.patch |
74 |
Patch58: smeserver-zabbix-agent-0.1-userparam_asterisk.patch |
Patch58: smeserver-zabbix-agent-0.1-userparam_asterisk.patch |
75 |
Patch59: smeserver-zabbix-agent-0.1-userparam_lvm.patch |
Patch59: smeserver-zabbix-agent-0.1-userparam_lvm.patch |
76 |
|
Patch60: smeserver-zabbix-agent-0.1-add_usr_sbin_in_path.patch |
77 |
|
Patch61: smeserver-zabbix-agent-0.1-statusmail.patch |
78 |
|
Patch62: smeserver-zabbix-agent-0.1-configure_timeout.patch |
79 |
|
Patch63: smeserver-zabbix-agent-0.1-better_asterisk_monitoring.patch |
80 |
|
Patch64: smeserver-zabbix-agent-0.1-fix_closing_bracket.patch |
81 |
|
Patch65: smeserver-zabbix-agent-0.1-check_crt_expiration.patch |
82 |
|
|
83 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
84 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
86 |
Requires: e-smith-release >= 7.0 |
Requires: e-smith-release >= 7.0 |
87 |
Requires: zabbix-agent |
Requires: zabbix-agent |
88 |
Requires: smeserver-remoteuseraccess |
Requires: smeserver-remoteuseraccess |
89 |
|
Requires: perl(IO::Socket) |
90 |
|
Requires: perl(Net::SSLeay) |
91 |
|
Requires: perl(Date::Parse) |
92 |
AutoReqProv: no |
AutoReqProv: no |
93 |
|
|
94 |
%description |
%description |
97 |
solution |
solution |
98 |
|
|
99 |
%changelog |
%changelog |
100 |
|
* Thu Jun 7 2012 Daniel B. <daniel@firewall-services.com> - 0.1-52.sme |
101 |
|
- Add missing perl module in dependency |
102 |
|
|
103 |
|
* Thu Jun 7 2012 Daniel B. <daniel@firewall-services.com> - 0.1-51.sme |
104 |
|
- Add certificate expiration script |
105 |
|
|
106 |
|
* Fri Oct 28 2011 Daniel B. <daniel@firewall-services.com> - 0.1-50.sme |
107 |
|
- Fix a closing bracket in templates |
108 |
|
|
109 |
|
* Wed Oct 26 2011 Daniel B. <daniel@firewall-services.com> - 0.1-49.sme |
110 |
|
- Add better asterisk monitoring capabilities |
111 |
|
|
112 |
|
* Fri Jul 08 2011 Daniel B. <daniel@firewall-services.com> - 0.1-48.sme |
113 |
|
- Configure timeout from the DB (prop TimeOut) |
114 |
|
|
115 |
|
* Wed May 04 2011 Daniel B. <daniel@firewall-services.com> 0.1-47 |
116 |
|
- Send status mail with some logs and active connexions (StatusMail prop) |
117 |
|
|
118 |
|
* Thu Sep 02 2010 Daniel B. <daniel@firewall-services.com> 0.1-46 |
119 |
|
- Add /usr/sbin in path for check_lvm and check_asterisk |
120 |
|
|
121 |
* Thu Sep 02 2010 Daniel B. <daniel@firewall-services.com> 0.1-45 |
* Thu Sep 02 2010 Daniel B. <daniel@firewall-services.com> 0.1-45 |
122 |
- Add basic asterisk monitoring support |
- Add basic asterisk monitoring support |
123 |
- Add basic LVM monitoring support |
- Add basic LVM monitoring support |
354 |
%patch57 -p1 |
%patch57 -p1 |
355 |
%patch58 -p1 |
%patch58 -p1 |
356 |
%patch59 -p1 |
%patch59 -p1 |
357 |
|
%patch60 -p1 |
358 |
|
%patch61 -p1 |
359 |
|
%patch62 -p1 |
360 |
|
%patch63 -p1 |
361 |
|
%patch64 -p1 |
362 |
|
%patch65 -p1 |
363 |
|
|
364 |
%build |
%build |
365 |
%{__mkdir_p} root/var/lib/zabbix/tmp |
%{__mkdir_p} root/var/lib/zabbix/tmp |
379 |
--file /var/lib/zabbix/bin/parse_mail_in.pl 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/parse_mail_in.pl 'attr(0755,root,root)' \ |
380 |
--file /var/lib/zabbix/bin/parse_mail_out.pl 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/parse_mail_out.pl 'attr(0755,root,root)' \ |
381 |
--file /var/lib/zabbix/bin/sensors 'attr(0750,root,zabbix) %config(noreplace)' \ |
--file /var/lib/zabbix/bin/sensors 'attr(0750,root,zabbix) %config(noreplace)' \ |
382 |
--file /var/lib/zabbix/bin/check_asterisk 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/check_asterisk 'attr(0750,root,zabbix)' \ |
383 |
--file /var/lib/zabbix/bin/check_lvm 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/check_lvm 'attr(0755,root,root)' \ |
384 |
|
--file /var/lib/zabbix/bin/mailstatus.pl 'attr(0755,root,root)' \ |
385 |
|
--file /var/lib/zabbix/bin/cert_expire.pl 'attr(0755,root,root)' \ |
386 |
--dir /var/lib/zabbix/tmp 'attr(0750,zabbix,zabbix)' \ |
--dir /var/lib/zabbix/tmp 'attr(0750,zabbix,zabbix)' \ |
387 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |
388 |
|
|