Install Zabbix-Agents Ubuntu 24.04(Noble) #3

Open
opened 3 months ago by byprakoso · 0 comments
Owner

Dokumentasi Install Zabbix-Agents Ubuntu 24-04

1. Buat repo secara manual

Jalankan :

echo "deb [trusted=yes] https://repo.zabbix.com/zabbix/7.0/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/zabbix.list

2. Update APT

sudo apt update

Pastikan outputnya terdapat:

repo.zabbix.com

image

3. Cek Paket tersedia

Jalankan:

apt-cache policy zabbix-agent2

Harus ada:

Candidate: 7.0.x

image

4. Install Zabbix-Agents2(Rekomendasi)

sudo apt install zabbix-agent2 -y

5. Start Service

sudo systemctl enable --now zabbix-agent2

6. Cek Status

systemctl status zabbix-agent2

Status harus Active
image

7. Konfigurasi server Zabbix

Edit config:

sudo nano /etc/zabbix/zabbix_agent2.conf

Cari dan isi:

Server=IP_ZABBIX_SERVER
ServerActive=IP_ZABBIX_SERVER
Hostname=notebooksvr

Contoh:

Server=10.100.1.42
ServerActive=10.100.1.42
Hostname=dev20.gisportal.id

8. Restart service

sudo systemctl restart zabbix-agent2
# Dokumentasi Install Zabbix-Agents Ubuntu 24-04 ## 1. Buat repo secara manual Jalankan : ``` echo "deb [trusted=yes] https://repo.zabbix.com/zabbix/7.0/ubuntu noble main" | sudo tee /etc/apt/sources.list.d/zabbix.list ``` ## 2. Update APT ``` sudo apt update ``` Pastikan outputnya terdapat: ``` repo.zabbix.com ``` ![image](/attachments/c891a132-024f-48ff-9217-84175a2afbb6) ## 3. Cek Paket tersedia Jalankan: ``` apt-cache policy zabbix-agent2 ``` Harus ada: ``` Candidate: 7.0.x ``` ![image](/attachments/0c550e8e-c30a-4e57-a42b-94e19fe39f02) ## 4. Install Zabbix-Agents2(Rekomendasi) ``` sudo apt install zabbix-agent2 -y ``` ## 5. Start Service ``` sudo systemctl enable --now zabbix-agent2 ``` ## 6. Cek Status ``` systemctl status zabbix-agent2 ``` Status harus Active ![image](/attachments/746813ed-aeb4-4cbe-96cd-205aa841da16) ## 7. Konfigurasi server Zabbix Edit config: ``` sudo nano /etc/zabbix/zabbix_agent2.conf ``` Cari dan isi: ``` Server=IP_ZABBIX_SERVER ServerActive=IP_ZABBIX_SERVER Hostname=notebooksvr ``` Contoh: ``` Server=10.100.1.42 ServerActive=10.100.1.42 Hostname=dev20.gisportal.id ``` ## 8. Restart service ``` sudo systemctl restart zabbix-agent2 ```
byprakoso changed title from Install Zabbix-Agents Ubuntu 24-04(Noble) to Install Zabbix-Agents Ubuntu 24.04(Noble) 3 months ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.