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)
Download old versions
Using the MSI package
msiexec /I zabbix_agent-version.msi [server=ZabbixServerIPAddress][sport=ServerPort][lport=ListenPort] [rmtcmd=1] [/qn]
where:
- SERVER=ZabbixServerIPAddress : IP address of the ZABBIX server
- SPORT=ServerPort : Zabbix server port for retrieving list of and sending active checks
- 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
- /qn : Silent mode. If not indicated on the command line, the install GUI will prompt
for confirmation of the indicated parameters (server and rmtcmd).
Using the script binary package
zabbix_agent-version_installer.exe [/server=ZabbixServerIPAddress][/sport=ServerPort][/lport=ListenPort] [/rmtcmd=1] [/S][/D=InstallPath]
where:
- /server=ZabbixServerIPAddress : IP address of the ZABBIX server
- /sport=ServerPort : Zabbix server port for retrieving list of and sending active checks
- /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
- /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