Hello,
I have been trying to install the zabbix agent 2 using Endpoint Central. To do this, I copy over the MSI to the server in question and run a bat file to install the agent as a service.
To get this done, I would like to use this command, but currently it isn't changing the
msiexec /lv "C:\log.txt" /i "C:\Program Files\Zabbix Agent 2\zabbix_agent2-7.2.2-windows-amd64-openssl.msi" TARGETDIR="C:\Program Files\Zabbix Agent 2" SERVER="ZabbixProxyServerHere".internal.cloudapp.n et HOSTNAMEITEM=system.hostname[fqdn] HOSTINTERFACEITEM=system.hostname[fqdn] SERVERACTIVE=ZabbixProxyServerHere HOSTMETADATA=Windows ENABLEPATH=1 /qn
The issue I'm having is that this isn't adding these values to the conf file.
I found that if I use the HOSTINTERFACE parameter instead of HOSTINTERFACEITEM, it does add this value to the conf file, but then the auto registration doesn't work.
I then get this error. "no active checks on server [ZabbixProxyServerHere:10051]: "system.hostname[fqdn]" is not a valid IP or DNS
Any tips on how this should be configured?
Thanks in advance!
Kr,
Maarten
I have been trying to install the zabbix agent 2 using Endpoint Central. To do this, I copy over the MSI to the server in question and run a bat file to install the agent as a service.
To get this done, I would like to use this command, but currently it isn't changing the
msiexec /lv "C:\log.txt" /i "C:\Program Files\Zabbix Agent 2\zabbix_agent2-7.2.2-windows-amd64-openssl.msi" TARGETDIR="C:\Program Files\Zabbix Agent 2" SERVER="ZabbixProxyServerHere".internal.cloudapp.n et HOSTNAMEITEM=system.hostname[fqdn] HOSTINTERFACEITEM=system.hostname[fqdn] SERVERACTIVE=ZabbixProxyServerHere HOSTMETADATA=Windows ENABLEPATH=1 /qn
The issue I'm having is that this isn't adding these values to the conf file.
HOSTNAMEITEM=system.hostname[fqdn]
and
HOSTINTERFACEITEM=system.hostname[fqdn]
The SERVERACTIVE and HOSTMETADATA is being added to the conf file without an issue.and
HOSTINTERFACEITEM=system.hostname[fqdn]
I found that if I use the HOSTINTERFACE parameter instead of HOSTINTERFACEITEM, it does add this value to the conf file, but then the auto registration doesn't work.
I then get this error. "no active checks on server [ZabbixProxyServerHere:10051]: "system.hostname[fqdn]" is not a valid IP or DNS
Any tips on how this should be configured?
Thanks in advance!
Kr,
Maarten
Comment