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 ...
随机推荐
- Visualforce入门第三篇_2017.3.2
Visualforce实现显示Record List(列表) 详细见链接:https://trailhead.salesforce.com/modules/visualforce_fundamenta ...
- ODP.NET OracleBulkCopy
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Oracle.DataA ...
- Python内置:items()方法
文章转载于:https://www.cnblogs.com/wushuaishuai/p/7738118.html(博主:IT技术随笔) #Python3中已取消iteritems()方法 描述 Py ...
- L2-022. 重排链表
L2-022. 重排链表 时间限制 500 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 陈越 给定一个单链表 L1→L2→...→Ln-1→Ln,请 ...
- mjpg-streamer在Ubuntu下编译,运行
1.将USB摄像头插上,查看是否找到设备,输入: wp@ubuntu:/home/$ ls /dev/video* /dev/video0 2.安装必要的软件集: sudo apt-get ...
- redis学习一 大体概述
redis 命令查找:http://doc.redisfans.com/ 1,redis 技术简介以及疑问 redis是一个开源的,内存存储的数据结构服务器.可以用做数据库,高速缓存和消息队 ...
- 来自T00ls的帖子-XSS的奇技淫巧
T00LS在前段时间开启了markdown支持,这个漏洞也正是markdown的问题导致. Markdown是一种可以使用普通文本编辑器编写的标记语言,通过简单的标记语法,它可以使普通文本内容具有一定 ...
- sql语句中的问号是干什么的???
1.实例代码一: String sql = "SELECT userid,name FROM tuser WHERE userid=? AND password=?" ; pst ...
- cookie禁用后的session
在浏览器地址后加:jsessionid="对应的32位字符串",照样可以访问. 在用户角度来说,浏览器开启,关闭就是一次会话. 在服务器角度来说,session失效才代表一次会话的 ...
- [cerc2017J]Justified Jungle
题目大意:删去k条边,树变为相等个点的连通分量,求所有正整数k. 解题关键:树dp,不必求因子. #include<bits/stdc++.h> using namespace std; ...