--- rpms/smeserver-zabbix-agent/contribs7/smeserver-zabbix-agent.spec 2009/03/27 12:56:38 1.7 +++ rpms/smeserver-zabbix-agent/contribs7/smeserver-zabbix-agent.spec 2009/04/20 10:51:35 1.8 @@ -1,10 +1,10 @@ -# $Id: smeserver-zabbix-agent.spec,v 1.6 2009/03/24 22:29:10 vip-ire Exp $ +# $Id: smeserver-zabbix-agent.spec,v 1.7 2009/03/27 12:56:38 vip-ire Exp $ # Authority: vip-ire # Name: Daniel Berteaud %define name smeserver-zabbix-agent %define version 0.1 -%define release 26 +%define release 27 Summary: sme server integration of zabbix agent Name: %{name} Version: %{version} @@ -48,6 +48,8 @@ Patch31: smeserver-zabbix-agent-0.1-mysq Patch32: smeserver-zabbix-agent-0.1-userparam_swRaid_status.patch Patch33: smeserver-zabbix-agent-0.1-userparam_comment.patch Patch34: smeserver-zabbix-agent-0.1-userparam_megaraid.patch +Patch35: smeserver-zabbix-agent-0.1-userparam_yum_updates.patch +Patch36: smeserver-zabbix-agent-0.1-userparam_sensors.patch BuildArchitectures: noarch BuildRequires: e-smith-devtools @@ -63,6 +65,12 @@ Zabbix is an entreprise-class open sourc solution %changelog +* Mon Apr 20 2009 Daniel B. 0.1-27 +- Add updates.available to retrieve the number of updates available + with yum +- Added sensors[*] key to retrieve sensors informations. The value are retrieved + with the script /var/lib/zabbix/bin/sensors which can be customized. + * Fri Mar 27 2009 Daniel B. 0.1-26 - Add raid.mega.status UserParameters to monitor status of MegaRaid based raid array @@ -197,6 +205,8 @@ solution %patch32 -p1 %patch33 -p1 %patch34 -p1 +%patch35 -p1 +%patch36 -p1 %build perl ./createlinks @@ -215,6 +225,7 @@ rm -f %{name}-%{version}-filelist --file /var/lib/zabbix/bin/mail_in.sh 'attr(0755,root,root)' \ --file /var/lib/zabbix/bin/mail_out.sh 'attr(0755,root,root)' \ --file /var/lib/zabbix/bin/mdstat-parser.pl 'attr(0755,root,root)' \ + --file /var/lib/zabbix/bin/sensors 'attr(0750,root,zabbix) %config(noreplace)' \ --dir /var/lib/zabbix/tmp 'attr(0755,zabbix,zabbix)' \ --dir /var/lib/zabbix/tmp/smelog 'attr(0770,zabbix,smelog)' \ --dir /var/lib/zabbix/tmp/qmail 'attr(0770,zabbix,nofiles)' \