User Tools

Site Tools


software:zabbix:client_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
software:zabbix:client_install [2023/12/13 01:36] rodolicosoftware:zabbix:client_install [2023/12/13 01:41] (current) rodolico
Line 3: Line 3:
 Zabbix agent is in many Linux and Unix repositories, but they are generally fairly old. Additionally, I like to tie my systems to a particular version, generally a Long Term Support (LTS). As of this article (2023), Zabbix 6.0 LTS is current. You don't have all the latest and greatest abilities, but you have a stable system which will give you consistent, reliable results. Zabbix agent is in many Linux and Unix repositories, but they are generally fairly old. Additionally, I like to tie my systems to a particular version, generally a Long Term Support (LTS). As of this article (2023), Zabbix 6.0 LTS is current. You don't have all the latest and greatest abilities, but you have a stable system which will give you consistent, reliable results.
  
-As such, I tend to download and install from the Linux repositories maintained by Zabbix. These are located at+As such, I tend to download and install from the Linux repositories maintained by Zabbix. Instructions and downloads are located at
 https://www.zabbix.com/download https://www.zabbix.com/download
-which gives instructions for many operating systems and Zabbix versions. Precompiled agents for Windows/macOS/BSD, etc... are under Zabbix Agents on that page. For Linux are better taken from the Zabbix Packages tab as they will be updated during normal operations. 
  
-Zabbix Server is not covered in this articlebut for the Zabbix Agent, 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 fill in the few 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:+Precompiled agents for Windows/macOS/BSD, etc... are under Zabbix Agents on that page. For LinuxI prefer taking the instructions from the Zabbix Packages tab. This will set up your system to add a new repositorythen install the Zabbix agent from that, where they can then be updated during normal operations. 
 + 
 +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
 </code> </code>
  
-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 hostnameas this is the name which the server matches on. For example, if your config file has the line
 <code conf>Hostname=myserver.example.org</code> <code conf>Hostname=myserver.example.org</code>
 your Zabbix server will use //myserver.example.org// as the identifier for its entry (which is why you can change the display name). your Zabbix server will use //myserver.example.org// as the identifier for its entry (which is why you can change the display name).
  
 ===== 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.txt · Last modified: 2023/12/13 01:41 by rodolico