...
https://www.zabbix.com/documentation/6.4/en/manual
Zabbix Server
Install
Ubuntu 22.04, docker, docker-compose
...
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
cd /opt wget https://github.com/zabbix/zabbix-docker/archive/refs/heads/6.4.zip unzip 6.4.zip mv zabbix-docker-6.4 zabbix cd /opt/zabbix mv docker-compose_v3_ubuntu_pgsql_latest.yaml docker-compose.yml rm -r *.yaml build.* Dockerfiles/* LICENSE README.md vi env_vars/.POSTGRES_PASSWORD docker-compose up -d |
...
First Login
https://www.zabbix.com/documentation/6.4/en/manual/quickstart/login
Default: Admin/zabbix
Edit Admin Profile
Change Password, Language
http://<YourZabbix>/zabbix.php?action=userprofile.edit
Clone Template
Data collection > Templates
http://<YourZabbix>/templates.php
Clone Template: Linux by Zabbix agent → perfSONAR by Zabbix agent
Disable unwanted monitoring items in the template
Data collection > Template groups
http://<YourZabbix>/zabbix.php?action=templategroup.list
Add the above template to new group
Create Host Group
Data collection > Host groups
http://<YourZabbix>/zabbix.php?action=hostgroup.list
Auto Registration
https://www.zabbix.com/documentation/6.4/en/manual/discovery/auto_registration
Administration > General > Autoregietration
http://<YourZabbix>/zabbix.php?action=autoreg.edit
Alerts > Actions > Autoregietration actions
http://<YourZabbix>/zabbix.php?action=action.list&eventsource=2
Administration > General > Autoregietration
...
Check Auto registered Hosts
Data collection > Hosts
Clients
코드 블럭 | ||||||
---|---|---|---|---|---|---|
| ||||||
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum clean all
yum install -y zabbix-agent
firewall-cmd --add-port=10050/tcp --permanent
firewall-cmd --reload
systemctl enable zabbix-agent.service
systemctl start zabbix-agent.service
tail -f /var/log/zabbix/zabbix_agentd.log |
코드 블럭 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
Server=<YourZabbix>
ServerActive=<YourZabbix>
Hostname=ps-daej-kisti.kreonet.net
Include=/etc/zabbix/zabbix_agentd.d/*.conf |