Zabbix 是一个开源的企业级分布式监控解决方案
非常灵活与强大,有很多优秀 特性 ,布署与管理也相对简单,下面分享一下它的基础操作
详细操作可以参考 官方文档
Tip: 当前的最新稳定版是 Zabbix 2.4
[root@zbx-target src]# wget http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
--2015-12-14 15:23:26-- http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
Resolving repo.zabbix.com... 87.110.183.174
Connecting to repo.zabbix.com|87.110.183.174|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11296 (11K) [application/x-redhat-package-manager]
Saving to: “zabbix-release-2.4-1.el6.noarch.rpm”
100%[==============================================================================>] 11,296 40.2K/s in 0.3s
2015-12-14 15:23:27 (40.2 KB/s) - “zabbix-release-2.4-1.el6.noarch.rpm” saved [11296/11296]
[root@zbx-target src]# ll zabbix-release-2.4-1.el6.noarch.rpm
-rw-r--r--. 1 root root 11296 Sep 11 2014 zabbix-release-2.4-1.el6.noarch.rpm
[root@zbx-target src]# rpm -ivh zabbix-release-2.4-1.el6.noarch.rpm
warning: zabbix-release-2.4-1.el6.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY
Preparing... ########################################### [100%]
1:zabbix-release ########################################### [100%]
[root@zbx-target src]#
[root@zbx-target src]# yum list all | grep zabbix
zabbix-release.noarch 2.4-1.el6 installed
fping.x86_64 2.4b2-16.el6 zabbix-non-supported
iksemel.x86_64 1.4-2.el6 zabbix-non-supported
iksemel-devel.x86_64 1.4-2.el6 zabbix-non-supported
iksemel-utils.x86_64 1.4-2.el6 zabbix-non-supported
libssh2.x86_64 1.4.2-2.el6 zabbix-non-supported
libssh2-devel.x86_64 1.4.2-2.el6 zabbix-non-supported
libssh2-docs.noarch 1.4.2-2.el6 zabbix-non-supported
perl-Config-IniFiles.noarch 2.72-2.el6 zabbix-non-supported
snmptt.noarch 1.4-1.el6 zabbix-non-supported
zabbix.x86_64 2.4.7-1.el6 zabbix
zabbix-agent.x86_64 2.4.7-1.el6 zabbix
zabbix-get.x86_64 2.4.7-1.el6 zabbix
zabbix-java-gateway.x86_64 2.4.7-1.el6 zabbix
zabbix-proxy.x86_64 2.4.7-1.el6 zabbix
zabbix-proxy-mysql.x86_64 2.4.7-1.el6 zabbix
zabbix-proxy-pgsql.x86_64 2.4.7-1.el6 zabbix
zabbix-proxy-sqlite3.x86_64 2.4.7-1.el6 zabbix
zabbix-sender.x86_64 2.4.7-1.el6 zabbix
zabbix-server.x86_64 2.4.7-1.el6 zabbix
zabbix-server-mysql.x86_64 2.4.7-1.el6 zabbix
zabbix-server-pgsql.x86_64 2.4.7-1.el6 zabbix
zabbix-web.noarch 2.4.7-1.el6 zabbix
zabbix-web-japanese.noarch 2.4.7-1.el6 zabbix
zabbix-web-mysql.noarch 2.4.7-1.el6 zabbix
zabbix-web-pgsql.noarch 2.4.7-1.el6 zabbix
[root@zbx-target src]# yum install zabbix-agent.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.skyshe.cn
* extras: mirrors.skyshe.cn
* updates: mirrors.skyshe.cn
Resolving Dependencies
--> Running transaction check
---> Package zabbix-agent.x86_64 0:2.4.7-1.el6 will be installed
--> Processing Dependency: zabbix for package: zabbix-agent-2.4.7-1.el6.x86_64
--> Running transaction check
---> Package zabbix.x86_64 0:2.4.7-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================
Package Arch Version Repository Size
========================================================================================================================
Installing:
zabbix-agent x86_64 2.4.7-1.el6 zabbix 173 k
Installing for dependencies:
zabbix x86_64 2.4.7-1.el6 zabbix 163 k
Transaction Summary
========================================================================================================================
Install 2 Package(s)
Total download size: 336 k
Installed size: 1.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): zabbix-2.4.7-1.el6.x86_64.rpm | 163 kB 00:30
(2/2): zabbix-agent-2.4.7-1.el6.x86_64.rpm | 173 kB 00:01
-------------------------------------------------------------------------------------------------------------------------
Total 8.9 kB/s | 336 kB 00:37
warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID 79ea5ed4: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
Importing GPG key 0x79EA5ED4:
Userid : Zabbix SIA <packager@zabbix.com>
Package: zabbix-release-2.4-1.el6.noarch (installed)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : zabbix-2.4.7-1.el6.x86_64 1/2
Installing : zabbix-agent-2.4.7-1.el6.x86_64 2/2
Verifying : zabbix-agent-2.4.7-1.el6.x86_64 1/2
Verifying : zabbix-2.4.7-1.el6.x86_64 2/2
Installed:
zabbix-agent.x86_64 0:2.4.7-1.el6
Dependency Installed:
zabbix.x86_64 0:2.4.7-1.el6
Complete!
[root@zbx-target src]#
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有