Utilisation d'une variable ZBX_SERVER_IP au lieu de la générique IPASSERELLE_IP

tags/wpkg-zabbix_agent-3.4.3-0.beta1
Daniel Berteaud 13 years ago
parent b8c1b93e24
commit 5fa6d78996
  1. 2
      packages/zabbix_agent.xml

@ -11,7 +11,7 @@
<check type="uninstall" condition="versiongreaterorequal" path="Zabbix Agent" value="%PKG_VERSION%"/>
<install cmd='msiexec /qn /i "%MSI%" SERVER=%IPASSERELLE_IP% RMTCMD=0' />
<install cmd='msiexec /qn /i "%MSI%" SERVER=%ZBX_SERVER_IP% RMTCMD=0' />
<install cmd='netsh firewall add portopening TCP 10050 "Zabbix Agent" enable custom "%IPASSERELLE_IP%"' />
<install cmd='%COMSPEC% /C sc start "Zabbix Agent"'>
<exit code="any" />

Loading…
Cancel
Save