Zabbix:
是由Alexei vladishev开发的一种网络监视、管理系统,基于Server-Client架构。可用于监视各种网络服务、服务器和网络机器等状态。
- Zabbix_server,服务端守护进程
- Zabbix_agentd, agent守护进程
- zabbix_proxy,代理服务器
- zabbix_database,存储系统, mysql, pgsql
- Zabbix_web,web GUI图形化界面
- Zabbix_get,命令行工具,测试向agent发起数据采集请求
- Zabbix_sender,命令行工具,测试向server发送数据
- Zabbix_java_gateway,java网关
安装zabbix5.0
https://www.zabbix.com/documentation/current/manual/installation/requirements
服务端
查看ip: ifconfig ens33 |awk 'NR==2{print $2}'
关闭防火墙: sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
systemctl disable --now firewalld
#时间同步
yum install ntpdate -y
ntpdate -u ntp.aliyun.com
#时区同步
mv /etc/localtime{
,.bak}
ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
开始安装
#获取zabbix官方源
rpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
#更换zabbix.repo源为阿里的
sed -i 's#http://repo.zabbix.com#https://mirrors.aliyun.com/zabbix#' /etc/yum.repos.d/zabbix.repo
#清空yum缓存
yum clean all
#生成缓存,此步不用做
yum ma