43trnb 发表于 2015-10-20 08:44:53

zabbix agent 监控Linux

关闭iptables
1
service iptables stop





配置zabbix源

1
rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm





安装zabbix客户端

1
yum -y install zabbix zabbix-agent





vi /etc/zabbix/zabbix_agentd.conf

1
2
3
4
Server=10.188.1.103         #zabbix服务器IP
Hostname=10.188.1.88          #客户端本机IP
UnsafeUserParameters=1      #允许用户自定义参数
EnableRemoteCommands=1      #允许执行远程命令






启动服务/开机启动

1
2
chkconfig zabbix-agent on
service zabbix-agent start





如果机器数量过多,可以编写自动安装脚本以及批量管理平台部署

页: [1]
查看完整版本: zabbix agent 监控Linux