L'agente Windows Zabbix può essere installato dal pacchetto di installazione MSI di Windows (32 bit o 64 bit) disponibili per scarica.
Il requisito minimo per un'installazione MSI dell'agente Zabbix 2 è Windows 7 x32.
È inoltre possibile installare le utilità Zabbix get e sender, insieme a Zabbix agent/agent 2 o separatamente.
Un pacchetto a 32 bit non può essere installato su Windows a 64 bit.
Tutti i pacchetti vengono forniti con il supporto TLS, tuttavia, la configurazione di TLS lo è opzionale.
Sono supportate sia l'interfaccia utente che l'installazione basata sulla riga di comando.
::: nota importante Sebbene l'installazione di Zabbix dai pacchetti di installazione MSI sia completamente supportata, si consiglia di installare almeno Microsoft .NET Framework 2 per una corretta gestione degli errori. Vedere Microsoft Scarica .NET Framework. :::
Per installare, fare doppio clic sul file MSI scaricato.


Accetta la licenza per procedere al passaggio successivo.

Specificare i seguenti parametri.
| Parametro | Descrizione |
|---|---|
| Nome host | Specificare il nome host. |
| IP/DNS del server Zabbix | Specifica l'IP/DNS del server Zabbix. |
| Porta di ascolto dell'agent | Specificare la porta di ascolto dell'agent (10050 per impostazione predefinita). |
| Server o proxy per controlli attivi | Specifica IP/DNS del server/proxy Zabbix per i controlli dell'agente attivo. |
| Abilita PSK | Segna la casella di controllo per abilitare il supporto TLS tramite chiavi pre-condivise. |
| Aggiungi la posizione dell'agente al PATH | Aggiungi la posizione dell'agente alla variabile PATH. |

Immettere l'identità e il valore della chiave precondivisa. Questo passaggio è disponibile solo se hai selezionato Abilita PSK nel passaggio precedente.

Seleziona i componenti Zabbix da installare - Zabbix agent demone, Zabbix sender, Zabbix get.

Verranno installati i componenti Zabbix insieme al file di configurazione una cartella Zabbix Agent in Program Files. zabbix_agentd.exe verrà impostato come servizio di Windows con avvio automatico.

The following set of parameters is supported by created MSIs:
| Number | Parameter | Description |
|---|---|---|
| 1 | LOGTYPE | |
| 2 | LOGFILE | |
| 3 | SERVER | |
| 4 | LISTENPORT | |
| 5 | SERVERACTIVE | |
| 6 | HOSTNAME | |
| 7 | TIMEOUT | |
| 8 | TLSCONNECT | |
| 9 | TLSACCEPT | |
| 10 | TLSPSKIDENTITY | |
| 11 | TLSPSKFILE | |
| 12 | TLSPSKVALUE | |
| 13 | TLSCAFILE | |
| 14 | TLSCRLFILE | |
| 15 | TLSSERVERCERTISSUER | |
| 16 | TLSSERVERCERTSUBJECT | |
| 17 | TLSCERTFILE | |
| 18 | TLSKEYFILE | |
| 19 | LISTENIP | |
| 20 | HOSTINTERFACE | |
| 21 | HOSTMETADATA | |
| 22 | HOSTMETADATAITEM | |
| 23 | STATUSPORT | Zabbix agent 2 only. |
| 24 | ENABLEPERSISTENTBUFFER | Zabbix agent 2 only. |
| 25 | PERSISTENTBUFFERPERIOD | Zabbix agent 2 only. |
| 26 | PERSISTENTBUFFERFILE | Zabbix agent 2 only. |
| 27 | INSTALLFOLDER | |
| 28 | ENABLEPATH | |
| 29 | SKIP | SKIP=fw - do not install firewall exception rule |
| 30 | INCLUDE | Sequence of includes separated by ; |
| 31 | ALLOWDENYKEY | Sequence of "AllowKey" and "DenyKey" parameters separated by ;. Use \\; to escape the delimiter. |
To install you may run, for example:
SET INSTALLFOLDER=C:\Program Files\za
msiexec /l*v log.txt /i zabbix_agent-6.0.0-x86.msi /qn^
LOGTYPE=file^
LOGFILE="%INSTALLFOLDER%\za.log"^
SERVER=192.168.6.76^
LISTENPORT=12345^
SERVERACTIVE=::1^
HOSTNAME=myHost^
TLSCONNECT=psk^
TLSACCEPT=psk^
TLSPSKIDENTITY=MyPSKID^
TLSPSKFILE="%INSTALLFOLDER%\mykey.psk"^
TLSCAFILE="c:\temp\f.txt1"^
TLSCRLFILE="c:\temp\f.txt2"^
TLSSERVERCERTISSUER="My CA"^
TLSSERVERCERTSUBJECT="My Cert"^
TLSCERTFILE="c:\temp\f.txt5"^
TLSKEYFILE="c:\temp\f.txt6"^
ENABLEPATH=1^
INSTALLFOLDER="%INSTALLFOLDER%"^
SKIP=fw^
ALLOWDENYKEY="DenyKey=vfs.file.contents[/etc/passwd]"or
msiexec /l*v log.txt /i zabbix_agent-6.0.0-x86.msi /qn^
SERVER=192.168.6.76^
TLSCONNECT=psk^
TLSACCEPT=psk^
TLSPSKIDENTITY=MyPSKID^
TLSPSKVALUE=1f87b595725ac58dd977beef14b97461a7c1045b9a1c963065002c5473194952To install Zabbix Windows agent from the command-line, you may run, for example:
SET INSTALLFOLDER=C:\Program Files\za
msiexec /l*v log.txt /i zabbix_agent-6.4.0-x86.msi /qn^
LOGTYPE=file^
LOGFILE="%INSTALLFOLDER%\za.log"^
SERVER=192.168.6.76^
LISTENPORT=12345^
SERVERACTIVE=::1^
HOSTNAME=myHost^
TLSCONNECT=psk^
TLSACCEPT=psk^
TLSPSKIDENTITY=MyPSKID^
TLSPSKFILE="%INSTALLFOLDER%\mykey.psk"^
TLSCAFILE="c:\temp\f.txt1"^
TLSCRLFILE="c:\temp\f.txt2"^
TLSSERVERCERTISSUER="My CA"^
TLSSERVERCERTSUBJECT="My Cert"^
TLSCERTFILE="c:\temp\f.txt5"^
TLSKEYFILE="c:\temp\f.txt6"^
ENABLEPATH=1^
INSTALLFOLDER="%INSTALLFOLDER%"^
SKIP=fw^
ALLOWDENYKEY="DenyKey=vfs.file.contents[/etc/passwd]"You may also run, for example:
msiexec /l*v log.txt /i zabbix_agent-6.4.0-x86.msi /qn^
SERVER=192.168.6.76^
TLSCONNECT=psk^
TLSACCEPT=psk^
TLSPSKIDENTITY=MyPSKID^
TLSPSKVALUE=1f87b595725ac58dd977beef14b97461a7c1045b9a1c963065002c5473194952If both TLSPSKFILE and TLSPSKVALUE are passed, then TLSPSKVALUE will be written to TLSPSKFILE.