LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   zabbix_agent: unknown parameter [LogFile] in config file (http://www.linuxquestions.org/questions/linux-server-73/zabbix_agent-unknown-parameter-%5Blogfile%5D-in-config-file-4175452975/)

eantoranz 03-06-2013 09:49 AM

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
zabbix_agent [1631]: unknown parameter [PidFile] in config file [/etc/zabbix/zabbix_agentd.conf], line 13

I comment out that option and now it's LogFile:

Code:

cps@zabbix:~$ zabbix_agent -c /etc/zabbix/zabbix_agentd.conf
zabbix_agent [1704]: unknown parameter [LogFile] in config file [/etc/zabbix/zabbix_agentd.conf], line 23

I think it doesn't make much sense. Who can tell me what's going on? Thanks in advance.

Code:

cps@zabbix:~$ zabbix_agent --version
Zabbix agent v2.0.2 (revision 29214) (31 July 2012)
Compilation time: Aug 13 2012 14:27:37


eantoranz 03-06-2013 10:11 AM

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.


All times are GMT -5. The time now is 09:46 PM.