Ubuntu 24.04
Sponsored Link

Zabbix 7.0 : Add Monitoring Target (Ubuntu)2024/06/06

 
Add Monitoring Target Host. Add a Ubuntu 24.04 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.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.0-1+ubuntu24.04_all.deb

root@node01:~#
dpkg -i zabbix-release_7.0-1+ubuntu24.04_all.deb

Selecting previously unselected package zabbix-release.
(Reading database ... 123391 files and directories currently installed.)
Preparing to unpack zabbix-release_7.0-1+ubuntu24.04_all.deb ...
Unpacking zabbix-release (1:7.0-1+ubuntu24.04) ...
Setting up zabbix-release (1:7.0-1+ubuntu24.04) ...

root@node01:~#
apt update

root@node01:~#
apt -y install zabbix-agent2
root@node01:~#
vi /etc/zabbix/zabbix_agent2.conf
# line 80 : specify Zabbix server

Server=
10.0.0.30
# line 133 : specify Zabbix server

ServerActive=
10.0.0.30
# line 144 : change to your hostname

Hostname=
node01.srv.world
root@node01:~#
systemctl restart zabbix-agent2

[2] Login to Zabbix admin site with admin user and click [Data Collection] - [Hosts] on the left pane, and then click [Create Host] button on the upper-right.
[3] Input hostname for [Hostname] field and input any name for [Visible name] field. For [Templates] section, to click [Select] button, monitoring templates are shown, then select a template you'd like to apply to this Host. For general Linux OS, select [Linux by Zabbix agent active] like follows. For [Groups] section, select a group or add a new group you'd like to manage this Host. For [Interfaces] section, input IP address and DNS name of this Host. If that's OK, click [Add] button.
[4] New monitoring target host is added. After few minutes, monitoring data are collected like follows.
Matched Content