Ran into a problem on my new monitoring box. When starting the zabbix agent as root, the agent opens the agent's log file before assuming the zabbix user. This causes the agent to not be able to log to the file because it is owned by root. The attached patch makes the agent run under the zabbix user before writing to the log file. One thing I am confused about is that this only seems to be an issue on one of my boxes. Runs Centos 4.2, if that matters.
Anyway, run the following from the zabbix-1.1beta5 extracted directory:
-cameron
Anyway, run the following from the zabbix-1.1beta5 extracted directory:
patch -p0 < zabbix_agentd.1.1beta5.diff.txt
Comment