zabbix入门--添加主机篇

    技术2025-09-09  45

    添加监控主机

    zabbix-server上安装agent

    yum install zabbix-agent.x86_64 -y systemctl enable zabbix-agent.service systemctl start zabbix-agent.service netstat -lntup

    其他主机监控

    wget https://mirrors.tuna.tsinghua.edu.cn/zabbix/zabbix/4.0/rhel/7/x86_64/zabbix-agent-4.0.19-1.el7.x86_64.rpm rpm -ivh zabbix-agent-4.0.19-1.el7.x86_64.rpm vim /etc/zabbix/zabbix_agentd.conf Server=***.***.***.** systemctl enable zabbix-agent.service systemctl start zabbix-agent.service

    进去后填完所有必填项,重启zabbix服务,监控主机就添加好了。

    Processed: 0.013, SQL: 9