Ad Widget

Collapse

Error parsing config file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pridetechdesign
    Junior Member
    • Nov 2014
    • 29

    #1

    Error parsing config file

    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.
    Last edited by pridetechdesign; 15-05-2016, 23:33. Reason: solved
Working...