1 |
# $Id: smeserver-zabbix-agent.spec,v 1.4 2009/03/18 12:09:21 vip-ire Exp $ |
# $Id: smeserver-zabbix-agent.spec,v 1.7 2009/03/27 12:56:38 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 24 |
%define release 27 |
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} |
46 |
Patch30: smeserver-zabbix-agent-0.1-sudoers_mysql.patch |
Patch30: smeserver-zabbix-agent-0.1-sudoers_mysql.patch |
47 |
Patch31: smeserver-zabbix-agent-0.1-mysql_size_fixe.patch |
Patch31: smeserver-zabbix-agent-0.1-mysql_size_fixe.patch |
48 |
Patch32: smeserver-zabbix-agent-0.1-userparam_swRaid_status.patch |
Patch32: smeserver-zabbix-agent-0.1-userparam_swRaid_status.patch |
49 |
|
Patch33: smeserver-zabbix-agent-0.1-userparam_comment.patch |
50 |
|
Patch34: smeserver-zabbix-agent-0.1-userparam_megaraid.patch |
51 |
|
Patch35: smeserver-zabbix-agent-0.1-userparam_yum_updates.patch |
52 |
|
Patch36: smeserver-zabbix-agent-0.1-userparam_sensors.patch |
53 |
|
|
54 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
55 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
65 |
solution |
solution |
66 |
|
|
67 |
%changelog |
%changelog |
68 |
|
* Mon Apr 20 2009 Daniel B. <daniel@firewall-services.com> 0.1-27 |
69 |
|
- Add updates.available to retrieve the number of updates available |
70 |
|
with yum |
71 |
|
- Added sensors[*] key to retrieve sensors informations. The value are retrieved |
72 |
|
with the script /var/lib/zabbix/bin/sensors which can be customized. |
73 |
|
|
74 |
|
* Fri Mar 27 2009 Daniel B. <daniel@firewall-services.com> 0.1-26 |
75 |
|
- Add raid.mega.status UserParameters to monitor status of MegaRaid based |
76 |
|
raid array |
77 |
|
|
78 |
|
* Tue Mar 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-25 |
79 |
|
- Add comments for each UserParameter for configuration on the server side |
80 |
|
(Type of information, unit, etc...) |
81 |
|
|
82 |
* Tue Mar 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-24 |
* Tue Mar 24 2009 Daniel B. <daniel@firewall-services.com> 0.1-24 |
83 |
- Add raid.sw.status userparameter to report software raid array status |
- Add raid.sw.status userparameter to report software raid array status |
84 |
- Remove rabs from spec |
- Remove rabs from spec |
203 |
%patch30 -p1 |
%patch30 -p1 |
204 |
%patch31 -p1 |
%patch31 -p1 |
205 |
%patch32 -p1 |
%patch32 -p1 |
206 |
|
%patch33 -p1 |
207 |
|
%patch34 -p1 |
208 |
|
%patch35 -p1 |
209 |
|
%patch36 -p1 |
210 |
|
|
211 |
%build |
%build |
212 |
perl ./createlinks |
perl ./createlinks |
225 |
--file /var/lib/zabbix/bin/mail_in.sh 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/mail_in.sh 'attr(0755,root,root)' \ |
226 |
--file /var/lib/zabbix/bin/mail_out.sh 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/mail_out.sh 'attr(0755,root,root)' \ |
227 |
--file /var/lib/zabbix/bin/mdstat-parser.pl 'attr(0755,root,root)' \ |
--file /var/lib/zabbix/bin/mdstat-parser.pl 'attr(0755,root,root)' \ |
228 |
|
--file /var/lib/zabbix/bin/sensors 'attr(0750,root,zabbix) %config(noreplace)' \ |
229 |
--dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \ |
--dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \ |
230 |
--dir /var/lib/zabbix/tmp/smelog 'attr(0770,zabbix,smelog)' \ |
--dir /var/lib/zabbix/tmp/smelog 'attr(0770,zabbix,smelog)' \ |
231 |
--dir /var/lib/zabbix/tmp/qmail 'attr(0770,zabbix,nofiles)' \ |
--dir /var/lib/zabbix/tmp/qmail 'attr(0770,zabbix,nofiles)' \ |