当前位置:网站首页>Deploy zabbix-agaent2 and verify
Deploy zabbix-agaent2 and verify
2022-07-19 06:58:00 【wfp___ zzzz】
1. Machine environment preparation 、2 platform zabbix client
2. Pay attention to the right time
yum install ntpdate -y
ntpdate -u ntp.aliyun.com
3. Unified configuration of time zones
mv /etc/localtime{,.bak}
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
4. Set it up in advance zabbix Of yum Source ,
rpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
sed -i ‘s#http://repo.zabbix.com#https://mirrors.aliyun.com/zabbix#' /etc/yum.repos.d/zabbix.repo
yum install -y zabbix-agent2
5. View the configuration file
vi /etc/zabbix/zabbix_agent2.conf
6. Start command
ll /usr/sbin/zabbix_agent2
7. Start client
systemctl enable --now zabbix-agent2
netstat -tnlp | grep zabbix
8. modify agent2 The configuration file
vi /etc/zabbix/zabbix_agent2.conf
Server= Server side ip
ServerActive= Server side ip
Hostname=Hostname
9. restart zabbix-agent2
10. Command on the server side , Take the initiative to get data
yum install -y zabbix-get
11. Command to check whether the server is connected to the client
zabbix_get -s 'ip' -p port -k 'system.hostname'
边栏推荐
- SSH remote login service
- Commande awk du troisième épéiste - - interception
- Sed command of text three swordsman -- text replacement; Grep command - text filtering
- 部署zabbix-agaent2与验证
- Common user password encryption methods and cracking methods
- 103.53.124.X IP段BGP线路和普通的专线有什么区别
- Share the successful cooperation between CS brand sdnand and wearable devices
- Xiaodi network security - Notes (5)
- Freebsd 12更换启动界面背景
- ANAME
猜你喜欢
随机推荐
数据保护/磁盘列阵RAID保护 IP段103.103.188.xxx
Xiaodi network security - Notes (3)
Decipher password (comprehensive)
Relevant knowledge points of Gugao motion control card
Learning about STM assembler design
Gentoo安装教程(Systemd+Gnome)
Mingming loves drinking water
Tianyi cloud Hangzhou virtual machine (VPS) performance evaluation
文本三劍客之awk命令--截取
Judge concave convex (mathematical problem)
[automated testing] - robotframework practice (I) building environment
Performance test and price comparison of cloud servers of Alibaba cloud, Tencent cloud, Huawei cloud, ucloud and Tianyi cloud
Wireshark packet capturing: error analysis
103.53.124.X IP段BGP线路和普通的专线有什么区别
配置树莓派3b+搭建个人网站
CDN是什么?使用CDN有什么优势?
Share the successful cooperation between CS brand sdnand and wearable devices
邮资范围(数组 or +函数)
5G时代服务器在这里面起着什么作用?
Entry level of simple irules writing









