Installation Zabbix agent on Debian 7 x64

I could not find a tutorial that showed how to install the precompiled Zabbix 2.0 agents on a 64 bit Debian box, so I’m making a how to for Zabbix agent on Debian 7 x64 . This tut also works on Debian 6 x64 or x86.

The latest downloads for precompiled agents and source code for building servers is here. http://www.zabbix.com/download.php , there is no Zabbix agent on Debian 7 x64 so you will need the source code.

On the Debian system that is getting the agent (remember this is for 64 bit version of Debian, go to the Zabbix download site for the link to the 32 bit agent if your system is 32 bit):

You should be logged in to a root sudo or su session for the following

Change “Server=127.0.0.1” option to the IP address of your Zabbix server, for example:

Exit and save the file

Change “LogFile=/tmp/zabbix_agentd.log” to:

Change “Server=127.0.0.1” option to the IP address of your Zabbix server, for example:

Change “ServerActive=127.0.0.1” option to the IP address of your Zabbix server, for example:

Change the hostname to the fqdn of the server or rem out the “Hostname=Zabbix server” line:

Exit and save the file

Exit and save the file

Now the Zabbix agent on Debian 7 x64 is installed. Go to your Zabbix server’s web interface and add the new system to hosts as you normally would and configure accordingly and you are done.

References:
http://www.zabbix.com/forum/showthread.php?p=103244#post103244