본문 바로가기
자빅스(zabbix)

zabbix 설치(3)

by 더킹123 2021. 5. 13.
728x90

zabbix 설치(3)

 

1. zabbix agent 설치(리눅스)

# zabbix agent 저장소 추가

[root@localhost ~]# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm

 

# zabbix agent yum 설치

[root@localhost ~]# yum –y install zabbix-agent

 

# zabbix 서버 정보 변경

[root@localhost ~]# vi /etc/zabbix/zabbix_agentd.conf

Server=[자빅스 서버 IP]

ServerActive=[자빅스 서버 IP]

 

# 방화벽 설정

[root@localhost ~]# firewall-cmd --permanent --zone=public --add-rich-rule="rule family="ipv4"\ source address="[자빅스 서버 IP]" port protocol="tcp" port="10050" accept"

 

# 방화벽 재실행

[root@localhost ~]# firewall-cmd –reload

 

# zabbix agent 시작

[root@localhost ~]# systemctl start zabbix-agent

 

# zabbix agent 프로세스 확인

[root@localhost ~]#  ps -ef|grep zabbix

root     24362 23213  0 09:33 pts/0    00:00:00 grep --color=auto zabbix

zabbix   31745     1    0 Aug06 ?        00:00:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf

zabbix   31746 31745  0 Aug06 ?        00:04:15 /usr/sbin/zabbix_agentd: collector [idle 1 sec]

zabbix   31747 31745  0 Aug06 ?        00:00:00 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]

zabbix   31748 31745  0 Aug06 ?        00:00:00 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]

zabbix   31749 31745  0 Aug06 ?        00:00:00 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]

zabbix   31750 31745  0 Aug06 ?        00:01:07 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]

 

2. zabbix agent 설치(윈도우)

**MSI설치 파일 다운로드[https://www.zabbix.com] - 공식홈페이지

**install

 

**서비스 시작

 

**방화벽 허용

728x90

'자빅스(zabbix)' 카테고리의 다른 글

zabbix 설치(2)  (0) 2021.05.13
zabbix 설치(1)  (0) 2021.05.13

댓글