zabbix agent rpm 包安装
2017-12-25 11:40
316 查看
zabbix agent 安装流程
history | grep test_hadoop967 ansible test_hadoop -m copy -a “src=/data/download/zabbix-agent-3.2.6-1.el7.x86_64.rpm dest=/data/download”
1007 ansible test_hadoop -m shell -a ” cd /data/download && yum install -y zabbix-agent-3.2.6-1.el7.x86_64.rpm “
1009 ansible test_hadoop -m shell -a ” sed -i “s/Hostname=Zabbix server/Hostname=
ifconfig eth0 |grep "inet " |awk '{print $2}' | tr -d "addrs"/g” /etc/zabbix/zabbix_agentd.conf “
1012 ansible test_hadoop -m shell -a ” sed -i ‘s/ServerActive=127.0.0.1/ServerActive=172.16.1.10/g’ /etc/zabbix/zabbix_agentd.conf ”
1014 ansible test_hadoop -m shell -a ” chattr -i /etc/group ”
1015 ansible test_hadoop -m shell -a ” groupadd zabbix “
1017 ansible test_hadoop -m shell -a ” chattr -i /etc/passwd ”
1019 ansible test_hadoop -m shell -a ” chattr -i /etc/shadow ”
1020 ansible test_hadoop -m shell -a ” useradd -g zabbix zabbix “
1022 ansible test_hadoop -m shell -a ” chown zabbix:zabbix /run/zabbix “
1024 ansible test_hadoop -m shell -a ” chown zabbix:zabbix /var/log/zabbix ”
1025 ansible test_hadoop -m shell -a ” systemctl start zabbix-agent “
之后到 zabbix web进行管理
相关文章推荐
- CentOS6.5上Zabbix3.0的RPM安装【三】-安装并添加Agent
- 使用RPM包为不能连接互联网的linux系统安装zabbix-agent的基本步骤
- Windows安装 Zabbix agent
- 自动化安装与配置zabbix_agent
- zabbix3.0.2 agent 安装
- zabbix系统监控zabbix-agent客户端安装
- 企业级分布式监控系统Zabbix系列之02(Zabbix-Agent安装与配置)
- 安装配置zabbix-agent
- 部署zabbix监控mysql (二) 安装zabbix agent
- zabbix---agent安装
- zabbix 客户端agent安装部署过程
- Centos上安装zabbix-agent
- [Zabbix] Agent 安装
- zabbix-rpm包安装
- windows安装zabbix_agent
- 【OM】Zabbix-Agent安装和使用教程
- zabbix proxy 3.0 RPM安装
- zabbix 布署实践【2 agent安装】
- Zabbix agent 在windows上安装部署
- CentOS6.5上Zabbix3.0的RPM安装【二】-汉化