Content
This package is made for installing Zabbix agent (compiled by ZABBIX SIA) on windows environement.
The packages includes:
zabbix_agent for W32 & w64, zabbix_sender and zabbix_get - from source code (precompiled from zabbix SIA)
Since 2006 the package is evoluating but it would be better with your ideas or suggestions, so don't hesitate to send me a mail at scotty@suiviperf.com
Download old versions
Using the MSI package
msiexec /I zabbix_agent-version.msi [HOSTNAME=hostname] [HOSTNAMEFQDN=1] [SERVER=ZabbixServerIPAddress] [LPORT=ListenPort] [SERVERACTIVE=List IP:Port] [RMTCMD=1] [/qn]
where:
- HOSTNAME=hostName : Hostname as register on the Zabbix server
- HOSTNAMEFQDN=1 : Hostname in FQDN in low case
- SERVER=ZabbixServerIPAddress : IP address of the ZABBIX server
- LPORT=listenPort : Agent will listen on this port for connections from the server
- RMTCMD=1 : 1 to enable remote commands, 0 to disable remote command
- SERVERACTIVE=List IP:Port : list of Zabbix server for active checks Comma delimited
- /qn : Silent mode. If not indicated on the command line, the install GUI will prompt
for confirmation of the indicated parameters (server and rmtcmd).
29 fev 2016 Thanks to Leszek Cimala for wixextension added to the wix script : no longer needed to launch MSI in UAC admin mode
Using the script binary package
zabbix_agent-version_installer.exe [/server=ZabbixServerIPAddress] [/lport=ListenPort] [/serveractive=List IP:Port] [/rmtcmd=1] [/S][/D=InstallPath]
where:
- /server=ZabbixServerIPAddress : IP address of the ZABBIX server
- /lport=listenPort : Agent will listen on this port for connections from the server
- /rmtcmd=1 : 1 to enable remote commands, 0 to disable remote command
- /serveractive=List IP:Port : list of Zabbix server for active checks Comma delimited
- /S : Silent mode. If not indicated on the command line, the install GUI will prompt
for confirmation of the indicated parameters (server and rmtcmd).
- /D=InstallPath :sets the default installation directory. It must be the last parameter used in the command line and must not contain any quotes, even if the path contains spaces.
If you have multiple Zabbix server monitoring by network you can create a file near the installer calling it zabbixlist.csv like :
NetworkAdress;ZabbixServeurAdress
default;zabbix_server4
192.168.1.0;zabbix_server1
192.168.2.0;zabbix_server2
192.168.3.0;zabbix_server1
192.168.4.0;zabbix_server3
When the installer see this file it calculate the network adress and try to find it in the file and take the zabbix server attached to the network adress.
if the network adress is not in the file it take the default line if there is otherwise he take the server adresse given in the parameters
Credit
Vincent Besançon - NSIS wizard. Thank's to nullsoft NSIS magic
SAFL - the old zabbix_sender.exe for Windows / clean and with no cygwin inside.
ZABBIX SIA of course
Link
Zabbix :
http://www.zabbix.com
the old Zabbix Sender :
http://www.safl.dk and
http://www.zabbix.com/forum
Nsis :
http://nsis.sourceforge.net/Main_Page