software:zabbix:client_install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
software:zabbix:client_install [2023/12/13 01:36] – rodolico | software:zabbix:client_install [2023/12/13 01:41] (current) – rodolico | ||
---|---|---|---|
Line 3: | Line 3: | ||
Zabbix agent is in many Linux and Unix repositories, | Zabbix agent is in many Linux and Unix repositories, | ||
- | As such, I tend to download and install from the Linux repositories maintained by Zabbix. | + | As such, I tend to download and install from the Linux repositories maintained by Zabbix. |
https:// | https:// | ||
- | which gives instructions for many operating systems and Zabbix versions. Precompiled agents for Windows/ | ||
- | Zabbix | + | Precompiled agents for Windows/ |
+ | |||
+ | The installation process is fairly straight forward; install the software and edit the config. The zabbix agent configuration file that comes with the installation is very large, but that is mainly because they include most of the default values as comments. I generally rename this file for a reference, then create a new file with values which are necessary. | ||
+ | |||
+ | Actually, there is only one value that is required, and that is the IP address of the Zabbix Server which will be communicating with this machine: | ||
<code conf> | <code conf> | ||
Server=ip.address.of.server | Server=ip.address.of.server | ||
</ | </ | ||
- | A much better configuration would be to explicitly define the hostname as this is the name which the server matches on. For example, if your config file has the line | + | A much better configuration would be to explicitly define the hostname, as this is the name which the server matches on. For example, if your config file has the line |
<code conf> | <code conf> | ||
your Zabbix server will use // | your Zabbix server will use // | ||
===== Linux ===== | ===== Linux ===== | ||
+ | |||
On Debian based machines, I also include the pid and log file locations, and an Include directive. The following config is the minimum I use on these. | On Debian based machines, I also include the pid and log file locations, and an Include directive. The following config is the minimum I use on these. | ||
<code conf> | <code conf> |
software/zabbix/client_install.1702452973.txt.gz · Last modified: 2023/12/13 01:36 by rodolico