zabbix agent 3.0部署文件 安裝部署
安裝 agent
git clone 下載
yum 安裝
[root@moban RPMS]# pwd
/root/zabbix3.0-rpm/RPMS
[root@moban RPMS]# yum install zabbix-agent-3.0.0-1.el6.x86_64.rpm -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirrors.aliyun.com
* epel: mirrors.ustc.edu.cn
* extras: mirrors.aliyun.com
* updates: mirrors.aliyun.com
Setting up Install Process
Examining zabbix-agent-3.0.0-1.el6.x86_64.rpm: zabbix-agent-3.0.0-1.el6.x86_64
Marking zabbix-agent-3.0.0-1.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package zabbix-agent.x86_64 0:3.0.0-1.el6 will be installed
--> Processing Dependency: libodbc.so.2()(64bit) for package: zabbix-agent-3.0.0-1.el6.x86_64
--> Running transaction check
---> Package unixODBC.x86_64 0:2.2.14-14.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================
Package Arch Version Repository Size
========================================================================================================
Installing:
zabbix-agent x86_64 3.0.0-1.el6 /zabbix-agent-3.0.0-1.el6.x86_64 1.1 M
Installing for dependencies:
unixODBC x86_64 2.2.14-14.el6 base 378 k
Transaction Summary
========================================================================================================
Install 2 Package(s)
Total size: 1.4 M
Total download size: 378 k
Installed size: 2.2 M
Downloading Packages:
unixODBC-2.2.14-14.el6.x86_64.rpm | 378 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : unixODBC-2.2.14-14.el6.x86_64 1/2
Installing : zabbix-agent-3.0.0-1.el6.x86_64 2/2
Verifying : unixODBC-2.2.14-14.el6.x86_64 1/2
Verifying : zabbix-agent-3.0.0-1.el6.x86_64 2/2
Installed:
zabbix-agent.x86_64 0:3.0.0-1.el6
Dependency Installed:
unixODBC.x86_64 0:2.2.14-14.el6
Complete!
------------------------------------------------
配置 [root@moban RPMS]# vi /etc/zabbix/zabbix_agentd.conf
Server=172.16.15.176 #zabbix 伺服器ip 用於被動模式
Hostname=172.16.15.177 #客戶端本機ip
UnsafeUserParameters=1 #允許自定義引數,如不需要請關閉 預設關閉
EnableRemoteCommands=1 #允許遠端執行命令,如無需要請款比,預設關閉
儲存退出
--------------------------------------------------
關閉selinux 並配置好iptables 如不是用iptables請關閉
[root@moban RPMS]# cat /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@moban RPMS]# /etc/init.d/iptables status
iptables:未執行防火牆。
啟動 zabbix_agent
[root@moban RPMS]# /etc/init.d/zabbix-agent start
Starting Zabbix agent: [確定]
檢視 啟動狀態
[root@moban RPMS]# /etc/init.d/zabbix-agent status
zabbix_agentd (pid 2802) 正在執行...
-----------------------------------------------------
安裝完成
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22390488/viewspace-2124869/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Zabbix安裝部署
- 【zabbix】zabbix遠端安裝部署
- zabbix 3.0 安裝配置文件
- 在centos 7上安裝zabbix server3.0和zabbix agentCentOSServer
- Zabbix監控安裝部署
- 詳解zabbix安裝部署
- zabbix安裝agent
- Zabbix Agent安裝
- 【Zabbix】zabbix_agent安裝指令碼指令碼
- Zabbix Agent 安裝與使用
- zabbix3.0安裝
- 【Zabbix】CentOS6.9系統下部署Zabbix-server 3.0CentOSServer
- zabbix安裝文件薦
- zabbix agent 的兩種安裝方式
- zabbix agent原始碼編譯安裝原始碼編譯
- ZABBIX實踐(一) 服務端部署和安裝服務端
- Apache安裝及jboss部署說明文件Apache
- zabbix server 部署Server
- ambari2.2.1 for redhat6.6安裝部署文件Redhat
- zabbix分散式監控環境完全編譯安裝部署分散式編譯
- 原始碼安裝和配置zabbix 3.0 LST原始碼
- centos7 下安裝zabbix3.0CentOS
- canal安裝部署
- Doris安裝部署
- greenplum安裝部署
- SQLT 安裝部署SQL
- ZooKeeper 安裝部署
- Dubbo安裝部署
- Zookeeper安裝部署
- ELK安裝部署
- chromedriver安裝部署Chrome
- 自動化安裝zabbix指令碼(3.0/3.2)指令碼
- 在CentOS7上安裝Zabbix3.0CentOS
- 在 CentOS6 上安裝 Zabbix3.0 Agent 並開啟客戶端自動註冊CentOS客戶端
- Zabbix在Nginx上面詳細安裝文件Nginx
- SQOOP安裝部署OOP
- Oozie--安裝部署
- Apache Ranger安裝部署ApacheRanger