PDA

View Full Version : Can't find "zabbix_agent.conf"


akiyama
13-09-2005, 10:50
Hi i'm new user that should zabbix,
after i download pre-compile package and unzip file. i found 3 files as zabbix_agent,zabbix_agentd and zabbix_sender.

I run it and found message error "Cannot open config file [/etc/zabbix/zabbix_agent.conf] [m]". i need to use this file but i can't found this file on zabbix site for put it on specify location.

Anybody have some suggestion on this? and next step after we get this file and run?

:D

Nate Bell
13-09-2005, 16:18
Download the source files that match your binary file version. Inside the source there are .conf files you can use to edit your Zabbix system (in zabbixsources/misc/conf/). The Zabbix binaries look by default in /etc/zabbix/ for the .conf files (hence your error), but if you want to place the .conf files elsewhere, you can run the binaries with a -c locationof.conffile switch.

After you have gotten the .conf files in the right place, you are going to have to edit them to match the specifics of your system. Take a look at the Zabbix documentation and the forum, and you should find enough information to get things started.

I also notice you are trying to get the zabbix_agent to run. Have you already got a zabbix_server running? If not, the zabbix_agent isn't going to be much use to you. If you don't have a zabbix server setup, I would suggest scrapping these precompiled binaries, grabbing a copy of the source code, and starting a fresh installation while carefully following the installation documentation. Some good versions of the Zabbix source to use are 1.1alpha10, and 1.1alpha12 (and supposedly 1.1beta1 when it gets released).

Goodluck,

Nate