X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=zabbix.spec;h=0800914f5fd4219e8751711929f4eb9d26f74b28;hb=cde7b9e7aada1a116d0f0366d0d4393abf30ec4d;hp=b0be484742f39c63b61a2bda79cfd89bf5054df0;hpb=98d1d3d838b86721a2fa79f42a8afa54371233ff;p=monitor.git diff --git a/zabbix.spec b/zabbix.spec index b0be484..0800914 100644 --- a/zabbix.spec +++ b/zabbix.spec @@ -3,7 +3,7 @@ %define _prefix /usr/local/zabbix Name: zabbix -Version: 1.6 +Version: 1.6.2 Release: 1 Group: System Environment/Daemons License: GPL @@ -155,6 +155,9 @@ TMP_FILE=`mktemp $TMPDIR/zbxtmpXXXXXX` # TODO: setup Server=, Hostname=, SERVER=`grep PLC_MONITOR_HOST /etc/planetlab/plc_config | tr "'" ' ' | awk '{print $2}'` +if [ -z "$SERVER" ] ; then + SERVER=128.112.139.116 +fi HOST=`hostname` sed -e "s#Hostname=.*#Hostname=$HOST#g" \ -e "s#Server=.*#Server=$SERVER#g" \ @@ -180,6 +183,7 @@ rm -f $TMP_FILE chkconfig --add zabbix_agentd chkconfig zabbix_agentd on +service zabbix_agentd start %post server @@ -286,6 +290,9 @@ rm -f %{zabbix_logdir}/zabbix_agentd.log %{zabbix_webdir} %changelog +* Mon Jan 05 2009 Stephen Soltesz - Monitor-2.0-0 +- new changes are significantly different, that I'm upping the number for clarity. + * Tue Nov 11 2008 Stephen Soltesz - 1.6.1 - initial re-packaging