--- rpms/smeserver-zabbix-agent/contribs7/smeserver-zabbix-agent.spec 2010/09/02 16:03:12 1.28 +++ rpms/smeserver-zabbix-agent/contribs7/smeserver-zabbix-agent.spec 2011/05/04 16:18:49 1.29 @@ -1,10 +1,10 @@ -# $Id: smeserver-zabbix-agent.spec,v 1.27 2010/09/02 15:21:09 vip-ire Exp $ +# $Id: smeserver-zabbix-agent.spec,v 1.28 2010/09/02 16:03:12 vip-ire Exp $ # Authority: vip-ire # Name: Daniel Berteaud %define name smeserver-zabbix-agent %define version 0.1 -%define release 46 +%define release 47 Summary: sme server integration of zabbix agent Name: %{name} Version: %{version} @@ -74,6 +74,7 @@ Patch57: smeserver-zabbix-agent-0.1-user Patch58: smeserver-zabbix-agent-0.1-userparam_asterisk.patch Patch59: smeserver-zabbix-agent-0.1-userparam_lvm.patch Patch60: smeserver-zabbix-agent-0.1-add_usr_sbin_in_path.patch +Patch61: smeserver-zabbix-agent-0.1-statusmail.patch BuildArchitectures: noarch BuildRequires: e-smith-devtools @@ -89,6 +90,9 @@ Zabbix is an entreprise-class open sourc solution %changelog +* Wed May 04 2011 Daniel B. 0.1-47 +- Send status mail with some logs and active connexions (StatusMail prop) + * Thu Sep 02 2010 Daniel B. 0.1-46 - Add /usr/sbin in path for check_lvm and check_asterisk @@ -329,6 +333,7 @@ solution %patch58 -p1 %patch59 -p1 %patch60 -p1 +%patch61 -p1 %build %{__mkdir_p} root/var/lib/zabbix/tmp @@ -350,6 +355,7 @@ rm -f %{name}-%{version}-filelist --file /var/lib/zabbix/bin/sensors 'attr(0750,root,zabbix) %config(noreplace)' \ --file /var/lib/zabbix/bin/check_asterisk 'attr(0755,root,root)' \ --file /var/lib/zabbix/bin/check_lvm 'attr(0755,root,root)' \ + --file /var/lib/zabbix/bin/mailstatus.pl 'attr(0755,root,root)' \ --dir /var/lib/zabbix/tmp 'attr(0750,zabbix,zabbix)' \ > %{name}-%{version}-filelist