Can someone tell me what's wrong with this configuration file? Zabbix says it can't start because of a parsing error:
# This is a config file for the Zabbix agent daemon (Unix)
# To get more information about Zabbix, visit http://www.zabbix.com
# To configure PSK use:
# openssl rand -hex 32
LogFile=/tmp/zabbix_agentd.log
Server=zabbix.domain.com
ServerActive=zabbix.domain.com
Hostname=host.domain.com
ListenPort=10150
TLSConnect=psk
TLSAccept=unencrypted,psk
TLSPSKIdentity=PSK ID: host.domain.com
TLSPSKFile=/etc/zabbix/etc/agent.psk
UPDATE: It turns out the agent requires at least some of the comments from the default configuration, if not all of them, in order to parse the file correctly.
# This is a config file for the Zabbix agent daemon (Unix)
# To get more information about Zabbix, visit http://www.zabbix.com
# To configure PSK use:
# openssl rand -hex 32
LogFile=/tmp/zabbix_agentd.log
Server=zabbix.domain.com
ServerActive=zabbix.domain.com
Hostname=host.domain.com
ListenPort=10150
TLSConnect=psk
TLSAccept=unencrypted,psk
TLSPSKIdentity=PSK ID: host.domain.com
TLSPSKFile=/etc/zabbix/etc/agent.psk
UPDATE: It turns out the agent requires at least some of the comments from the default configuration, if not all of them, in order to parse the file correctly.