Previously, we installed the Zabbix agent on the same host and monitored a single item for it. It's now time to expand and look at how inter-host connectivity works.
To continue, install the Zabbix agent on another host. The easiest way might be installing from the distribution packages—or you may choose to compile it from the source. If installing from the packages on Red Hat Enterprise Linux (RHEL)/Debian-based systems, refer to Chapter 1, Getting Started with Zabbix, for repository instructions. A potential agent package name could be zabbix-agent.
Compiling the agent only from the source is done in a similar way to how all components were included for compilation in Chapter 1, Getting Started with Zabbix. Instead of the full configure line, we will use a single flag this time:
$ ./configure --enable-agent
Configuration should complete successfully...