728x90
์ด์ ๊ธ ๐
[Zabbix] Zabbix Master Server ์ค์นํ๊ธฐ (tistory.com)
[Zabbix] Zabbix Master Server ์ค์นํ๊ธฐ
๊ตฌ์ฑ ํ๊ฒฝ OS : ubuntu 18.04 Master ์๋ฒ์ Inbound ๊ท์น => 80, 22 port open Master ์๋ฒ์ Outbound ๊ท์น => 1~65535 Version : zabbix 6.0 Database : MySQL 8.0 Web Server : Apache 0. Zabbix๋? ์๋น ์ค(Zabbix)๋ ๋คํธ์ํฌ ๋ฐ ์๋ฒ์ ์ฑ
yeit.tistory.com
๊ตฌ์ฑ ํ๊ฒฝ
- OS : ubuntu 18.04
- Agent2 ์๋ฒ์ Inbound ๊ท์น => 10050, 22 port open
- Version : zabbix 6.0
1. Zabbix Agent ์ค์น
a. zabbix ๊ณต์ ํํ์ด์ง ๋ค์ด๊ฐ์ ์์ ์ ํ๊ฒฝ์ ๋ง๊ฒ ์ธํ
Download and install Zabbix 6.0 LTS for Ubuntu 18.04 (Bionic) Agent 2
Download and install Zabbix
www.zabbix.com
b. Zabbix ์ ์ฅ์ ์ค์น
$ wget https://repo.zabbix.com/zabbix/6.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_6.0-4+ubuntu18.04_all.deb
$ dpkg -i zabbix-release_6.0-4+ubuntu18.04_all.deb
$ apt update
certificate verification Error)
#apt update๋ฅผ ํ๋ฉด ์ธ์ฆ์ ์๋ฌ๊ฐ ๋๋ค.
#ํด๊ฒฐ๋ฒ
$ sudo apt install ca-certificates
$ apt update
c. Zabbix ์์ด์ ํธ 2 ์ค์น
$ apt install zabbix-agent2 zabbix-agent2-plugin-*
d. Zabbix agent2 ํ๋ก์ธ์ค ์์
$ systemctl restart zabbix-agent2
$ systemctl enable zabbix-agent2
e. confํ์ผ ์์
$ vim /etc/zabbix/zabbix_agent2.conf
Server=Zabbix Master Server IP ๋ฃ๊ธฐ
ServerActive=Zabbix Master Server IP ๋ฃ๊ธฐ
Hostname=Agent Server์ ํธ์คํธ๋ค์
Hostname)
$ hostname
f. ๋ค์์์
$ systemctl restart zabbix-agent2
$ systemctl enable zabbix-agent2
2. zabbix ์น ํ์ด์ง ์ค์
a. zabbix ํํ์ด์ง ์ ์
http://๊ณต์ธip/zabbix
b. ํธ์คํธ ์ค์
์ค์ - ํธ์คํธ - ํธ์คํธ ์์ฑ
agent2 ์๋ฒ ํธ์คํธ ๋ฑ๋กํ๊ธฐ
- ์๋ฒ์ hostname๊ณผ ๊ฐ์ ๊ฒ์ ํธ์คํธ๋ช ์ ๋ฃ์ด์ฃผ๊ธฐ
$ hostname
- ํ ํ๋ฆฟ์ Linux by Zabbix agent
- ๊ทธ๋ฃน์ Linux Servers
- IP์ฃผ์๋ agent2์๋ฒ์ ๊ณต์ธip ๋ฃ๊ธฐ, ํฌํธ๋ 10050
c. ํ์ธํ๊ธฐ
- ๋นํ์ฑ ์ํ๋ผ๋ฉด ํ์ฑํ๋ก ๋ฐ๊พผ ํ ๊ธฐ๋ค๋ฆฌ๊ธฐ (์ฝ 1,2๋ถ ์์)
- ์คํจํ ์ ๋นจ๊ฐ๋ถ
- ์ฑ๊ณตํ ์ ์ด๋ก๋ถ
728x90
'Monitoring > Zabbix' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Zabbix] ๊ทธ๋ํ ํ๊ธ ๊นจ์ง ํ์ ํด๊ฒฐ ๋ฐฉ๋ฒ (0) | 2024.05.19 |
---|---|
[Zabbix] Web URL ๋ชจ๋ํฐ๋ง ์ค์ ํ๊ธฐ (0) | 2023.08.17 |
[Zabbix] Zabbix Master Server ์ค์นํ๊ธฐ (0) | 2023.08.16 |