Zabbix 7.4 : Add Monitoring Target (Debian)2025/10/01 |
|
Add Monitoring Target Host. Add a Debian 13 server as an example on here. |
|
| [1] | Install Zabbix Agent on the server you'd like to add for monitoring target. |
|
root@node01:~# wget https://repo.zabbix.com/zabbix/7.4/release/debian/pool/main/z/zabbix-release/zabbix-release_latest_7.4+debian13_all.deb root@node01:~# dpkg -i zabbix-release_latest_7.4+debian13_all.deb Selecting previously unselected package zabbix-release. (Reading database ... 39559 files and directories currently installed.) Preparing to unpack zabbix-release_latest_7.4+debian13_all.deb ... Unpacking zabbix-release (1:7.4-1+debian13) ... Setting up zabbix-release (1:7.4-1+debian13) ...
root@node01:~#
vi /etc/zabbix/zabbix_agent2.conf # line 82 : specify Zabbix server Server= 10.0.0.30
# line 135 : specify Zabbix server ServerActive= 10.0.0.30
# line 146 : change to your hostname Hostname= node01.srv.world
systemctl restart zabbix-agent2 |
| [2] | Login to Zabbix admin site with [Admin] user and select [Data collection] - [Hosts] on the left pane, then click [Create Host] button on the right pane. |
|
| [3] | Input a hostname for [Hostname] field, input any name you like for [Visible name] field, select a group or add a new group for [Groups] field, input IP address and DNS name for [Interfaces] field. For monitoring items, there are many templates, click [Select] button that is in [Templates] field. |
|
| [4] | Click [Select] button. |
|
| [5] | Select [Templates/Operating systems]. |
|
| [6] | Select [Template OS Linux by Zabbix agent active]. The difference between having [active] and not having it is that without [active], the Zabbix server requests the Zabbix agent to send data and the data is sent, while with [active], the Zabbix agent sends data to the Zabbix server according to the configuration. There is not much difference in the items that can be monitored, but with [active], log monitoring is also possible, so set it with [active] on here. However, when there are a large number of hosts to be monitored, you must also consider the load on the Zabbix server when setting with [active]. |
|
| [7] | After setting items, click [Add] button. |
|
| [8] | New monitoring target host is added. After few minutes, monitoring data are collected like follows. |
|
|
|
| Sponsored Link |
|
|