#!/bin/sh
useradd -p "zabbix" zabbix
rpm -ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
yum install zabbix-agent
sed -i ‘s/^Server=.*$/Server=192.168.8.107/g’ /etc/zabbix/zabbix_agent.conf
service zabbix-agent start
chkconfig zabbix-agent on
本文出自 “imperialzhang” 博客,请务必保留此出处http://imperialzhang.blog.51cto.com/10620490/1728617
原文地址:http://imperialzhang.blog.51cto.com/10620490/1728617