CentOS6.5上Zabbix3.0的RPM安装【三】-安装并添加Agent
七、Download and install Zabbix Agent
Zabbix Agent is required to install on all remote systems needs to be monitor through Zabbix server. The Zabbix Agent collects resource utilization data and applications data on client system and provide such information to Zabbix server on their requests.
There are two types of checks between Zabbix Server and Client.
- Passive Check : Zabbix Agent sent data to server on their request.
- Active Check : Zabbix Agent sends data periodically to Server.
After installing zabbix server on your server, Now we are moving to install agent on remote system’s. This article will help you to install zabbix agent on CentOS/RHEL 7/6/5 systems. After completing this step go to next article add Host in Zabbix Server.
*Installing Zabbix Agent
Follow the below instructions to install Zabbix Agent on CentOS, RHEL 7/6/5 systems.
Step 1 – Add Required Repository
Before installing Zabbix Agent first configure zabbix yum repository using following commands as per your required version and operating system.
CentOS/RHEL 6:
# rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/6/x86_64/zabbix-release-3.0-1.el6.noarch.rpm
Step 2 – Install Zabbix Agent
After installing yum repository packages in our system. Now use following command to install Zabbix agent on your Linux system.
# yum install zabbix-agent
Step 3 – Edit Zabbix Agent Configuration
As zabbix agent has been successfully installed on our remote system. Now we just need to configure zabbix agent by adding zabbix server ip in
its configuration file /etc/zabbix/zabbix_agentd.conf
#Server=[zabbix server ip]
#ServerActive=[zabbix server ip]
#Hostname=[Hostname of client system]
Server=Zabbix Server IP
ServerActive=Zabbix Server IP
Hostname=AgentName
Step 4 – Starting Zabbix Agent
After adding zabbix server ip in configuration file, now start agent service using below command.
# /etc/init.d/zabbix-agent start
# chconfig zabbix-agent on
Congratulation’s! You have successfully installed Zabbix Agent. Lets add host in zabbix server to be monitory.
八、添加Agent
点击”配置”/”主机”/”创建主机”,出现如下新增主机的界面:

填写对应内容
l “主机名称”选项填写一个唯一的名称,与Agent的hostname一致;“可见名称”填写任意你觉得易读的名称。
l “群组”选择一个已存在的组名,或者在“新的群组”处填写一个新的分组。
l “agent代理程序的接口”的IP地址填写为被监控端IP地址【Agent的IP地址】,port保持默认即可。
l Description处可以填写任意描述(可空)。
l 其他保持默认即可

配置主机模板,zabbix server 会根据主机模板生成图像。
点击"模板"

通过在“搜索框”直接输入期望模拟的关键字,系统会自动匹配,或者点击“选择”按钮,会出现所有可供选择的模板,
点击选入期望的模板,完在模板的选择。

点击“添加”,完成模板添加

模板添加完成后,即可点击最下面的“添加”或“更新”按钮添加被监控主机。
主机添加完成之后会在主机列表显示刚添加的主机,并且可以看到监控方式为『ZAX』(zabbix-agent方式)。ZAX为绿色表示监控状态正常。

ZAX为红色状态,表示连接失败。

将鼠标放在“ZAX”上会显示具体描述,按照描述信息加以解决。

CentOS6.5上Zabbix3.0的RPM安装【三】-安装并添加Agent的更多相关文章
- CentOS6.5上Zabbix3.0的RPM安装【一】-安装并配置Server
一.Environment OS:CentOS6.5 64bit [桌面版安装] Server端:192.168.201.109 ServerName Clinet端:192.168.201.199 ...
- CentOS6.5上Zabbix3.0的RPM安装【四】-乱码
当Agent添加完成后,部分显示(如cpu负载)出现乱码情况: 解决步骤如下: 1, 在windows7中找一个自己喜欢的字体或者去网上下载一个字体.[以“楷体 常规”为例] 2, 右击”楷体 常规” ...
- CentOS6.5上Zabbix3.0的RPM安装【二】-汉化
六.汉化 zabbix实际是有中文语言的,我们可以通过修改web端源文件来开启中文语言.首先点击zabbix监控页面右上角管理员头像进入“用户基本资料设置页面“. 选择中文语言. 点击“Update” ...
- centos6.5 搭建zabbix3.0
一.搭建LAMP平台 注意zabbix3.0需要php5.4以上的版本 (1)安装依赖包 httpd和mysql安装过程省略 rpm -e httpd --nodeps yum -y install ...
- PHP 5.5.38 + mysql 5.0.11 + zabbix3.0 + nginx 安装
PHP 5.5.38 + mysql 5.0.11 + zabbix3.0 + nginx 1.首先在安装好环境下安装 zabbix3.0情况下 2. yum install mysql-devel ...
- centos6.8上yum安装zabbix3.2
centos6.8上yum安装zabbix3.2 zabbix3.2安装文档:https://www.zabbix.com/documentation/3.2/manual/installation/ ...
- centos6.5安装配置zabbix3.0.3
1.首先要准备LAMP环境. (1)安装php Zabbix 3.0对PHP的要求最低为5.4,而CentOS6默认为5.3.3,完全不满足要求,故需要利用第三方源,将PHP升级到5.4以上 rpm ...
- 【Zabbix】在CentOS7上安装Zabbix3.0
Zabbix安装 首先说明一下,本文主要参考了[http://www.linuxidc.com/Linux/2016-11/137030.htm]和[http://www.cnblogs.com/XY ...
- rpm安装MySQL5.5后配置,在centos5上;mysql编译安装在centos6.5上;
[1] 没有/etc/my.cnf: rpm包安装的MySQL是不会安装/etc/my.cnf文件的:处理:cp /usr/share/mysql/my-huge.cnf /etc/my.cnf [2 ...
随机推荐
- linux上安装gitolite和windows上安装tortoisegit及msysgit
1 quick install+setup for experts If your Unix-fu and ssh-fu are good, just copy your ssh public key ...
- myelipse中部署路径deploy location出现错误
背景: 因java_web项目中的所有代码以及资源文件突然无法提交,在尝试过诸多方法无果后,果断删除项目重新将down下来.启动Tomcat无问题,使用原来的访问连接报错.经检查发现加载至Tomcat ...
- [置顶]
自己写一个简单通用的Makefile
转自:http://blog.csdn.net/u011913612/article/details/52102241 一.makefile的作用 Makefile是用于自动编译和链接的,一个工程有很 ...
- Even uploading a JPG file can lead to Cross-Site Content Hijacking (client-side attack)!
Introduction: This post is going to introduce a new technique that has not been covered previously i ...
- Python函数(一)-return返回值
定义一个函数可以在最后加上return返回值,方便查看函数是否运行完成和返回函数的值 # -*- coding:utf-8 -*- __author__ = "MuT6 Sch01aR&qu ...
- CSS2实用知识点详解
CSS相关知识回顾目录 CSS2选择器 假选择器的使用 属性选择器的使用 边框设置 背景设置 字体设置 文本属性 a标签假选择器使用 列表设置 表格设置 鼠标设置 单位设置 隐藏显示 位置设置 清除浮 ...
- 2015.3.11 VS异步控件及进度条结合应用
1.在Form中添加 指针控件:BackgroundWorker-bgwork:进度条控件progressBar1 以及开始.取消按钮 2.开始按钮启动异步线程 private void button ...
- 第十七章 Velocity优化实践(待续)
现实存在的问题 优化的理论基础 一个高效的模版引擎实现思路 优化成果 其他优化手段
- 10-09C#语言基础
10-09C#语言基础 第一课 一.新项目的建立:打开Visual studio2012,单击“文件→新建项目→模板isualC# Windows 控制台应用程序→确定”即可. 在新建的项目中,首 ...
- import javax.servlet 出错(真的很管用)
Error: The import javax.servlet cannot be resolved The import javax.servlet.http.HttpServletRequest ...