I have installed the Zabbix 2.0.2 agent on an Ubuntu 12.04 machine. It works great if I start using zabbix_agentd.
However, I placed zabbix_agent in /etc/init.d and configured it appropriately to run at startup and that is failing.
If I do the following from the command line
sudo /etc/init.d/zabbix_agent
I get the error message
zabbix_agent [1559]: cannot open config file [/usr/local/etc/zabbix_agent.conf]
If I then copy zabbix_agentd.conf to zabbix_agent.conf
sudo /etc/init.d/zabbix_agent
instead produces the error
zabbix_agent [1563]: unknown parameter [ServerActive] in config file [/usr/local/etc/zabbix_agent.conf]
So...
Why the two different config files, and how can I get zabbix_agent to start properly?
However, I placed zabbix_agent in /etc/init.d and configured it appropriately to run at startup and that is failing.
If I do the following from the command line
sudo /etc/init.d/zabbix_agent
I get the error message
zabbix_agent [1559]: cannot open config file [/usr/local/etc/zabbix_agent.conf]
If I then copy zabbix_agentd.conf to zabbix_agent.conf
sudo /etc/init.d/zabbix_agent
instead produces the error
zabbix_agent [1563]: unknown parameter [ServerActive] in config file [/usr/local/etc/zabbix_agent.conf]
So...
Why the two different config files, and how can I get zabbix_agent to start properly?
Comment