zabbix_agent: unknown parameter [LogFile] in config file
Hi!
I have this ubuntu 12.10 server (on a qemu virtual machine). I'm testing zabbix (from packages) on it and have been having no major problems till now with it. Up until yesterday, zabbix_agent was working normally but today I boot the VM and agent won't come online. When I run it manually. it was complaining about PidFile: Code:
cps@zabbix:~$ zabbix_agent -c /etc/zabbix/zabbix_agentd.conf Code:
cps@zabbix:~$ zabbix_agent -c /etc/zabbix/zabbix_agentd.conf Code:
cps@zabbix:~$ zabbix_agent --version |
Ok.... problem was that I had a not-directly-related-to-zabbix file in /etc/zabbix/zabbix_agentd.conf.d/. Moved it out and it's working now.
|
Quote:
|
You have a file that's not relatad to Zabbix in the configuration directory? Move it out of that directory.
|
Quote:
sdi:/etc/zabbix$ ls -l total 36 -rw-r--r-- 1 root root 1152 Feb 25 11:30 apache.conf drwxr-xr-x 2 www-data root 4096 Feb 25 11:46 web -rw-r--r-- 1 root root 8187 Mar 3 16:28 zabbix_agentd.conf drwxr-xr-x 2 root root 4096 Feb 25 10:56 zabbix_agentd.d -rw-r----- 1 root root 13588 Feb 27 10:00 zabbix_server.conf i checked the Pidfile in /var/run/zabbix and the pid file was created sucessfully, so i dont understand what´s going on?? u mean theres a wrong file?? |
The problem for me was that I had a file not related to zabbix configuration inside /etc/zabbix/zabbix_agentd.conf.d/. My guess is that zabbix goes through all the files in that directory assuming they are all related to zabbix. Chevere? ;-) (yo soy venezolano)
|
All times are GMT -5. The time now is 12:22 PM. |