Agent Zabbix
Il faut récupérer les msi x86 et x6' sur http://www.suiviperf.com/zabbix/index.php
- zabbix_agent.xml
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?> <packages> <package id="zabbix_agent" name="Agent de supervision Zabbix" revision="7" priority="10"> <variable name="PKG_VERSION" value="2.2.0" /> <variable architecture="x86" name="MSI" value="%SOFTWARE%\zabbix_agent\zabbix_agent-%PKG_VERSION%_x86.msi" /> <variable architecture="x64" name="MSI" value="%SOFTWARE%\zabbix_agent\zabbix_agent-%PKG_VERSION%_x64.msi" /> <check type="uninstall" condition="versiongreaterorequal" path="Zabbix Agent" value="%PKG_VERSION%"/> <install cmd='msiexec /qn /i "%MSI%" SERVER=%ZBX_SERVER_IP% RMTCMD=0' /> <install cmd='netsh firewall add portopening TCP 10050 "Zabbix Agent" enable custom "%ZBX_SERVER_IP%"' /> <install cmd='%COMSPEC% /C sc start "Zabbix Agent"'> <exit code="any" /> </install> <upgrade cmd='%COMSPEC% /C sc stop "Zabbix Agent"'> <exit code="any" /> </upgrade> <upgrade include="install" /> <downgrade cmd='%COMSPEC% /C sc stop "Zabbix Agent"'> <exit code="any" /> </downgrade> <downgrade include="install" /> <remove cmd='%COMSPEC% /C sc stop "Zabbix Agent"'> <exit code="any" /> </remove> <remove cmd='%COMSPEC% /C msiexec /qn /norestart /x "%MSI%"' /> <remove cmd='netsh firewall delete portopening TCP 10050' /> </package> </packages>