redhat 6.5 安裝和配置zabbix客戶端

1、安裝zabbix-agentvim

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-2.4.6-1.el6.x86_64

2、配置agent端配置文件centos

配置agent端配置文件code

vim /etc/zabbix/zabbix_agentd.conf       #此處千萬別寫成了zabbix_agent.conf,不然配置了不生效
Server=115.29.245.240                    #填寫Server的IP地址
ServerActive=115.29.245.240              #修改成Server的IP地址
Hostname=115.29.245.240                   #填寫Server的HostName,注意Server端要能解析
UnsafeUserParameters=1                   #是否容許自定義的key,1爲容許,0爲不容許
Include= vi etc/zabbix/zabbix_agentd.conf.d/  #自定義的agentd配置文件(key)能夠在這裏面寫

若是該文件中的內容(安裝目錄和可執行文件目錄)與實際情況不一樣,那麼則須要修改server

3、啓動Zabbix Agentget

啓動Zabbix Agent服務配置

service zabbix-agentd_ctl start

4、設置開機啓動service

設置Zabbix-Agent服務自啓動im

chkconfig zabbix-agent on
相關文章
相關標籤/搜索