The previous paragraph is a company project environment, from the previous single-node environment to the current cluster environment, and the server are in the same room, consider the deployment of a set of Zabbix monitoring system, because the first deployment of the server a bit more, so the installation process is written as a script mode, Server-side and client-side, respectively, are easy to install,
CentOS-Zabbix-agent client compilation and installation, centos7zabbixagentSystem Environment: CentOS 6.8
Download installation package Official Website: http://www.zabbix.com/download
This article uses Zabbix 3.0 LTS
Upload to the client server and decompress the package
tar xzvf
Tags: Zabbix linux agent## configuration of the Linux clientZabbix-agent Installation Scripts"'bash#!/bin/bash# Add Zabbix3yum SourceCat > /etc/yum.repos.d/zabbix.repo EOF[zabbix3.0]name=zabbix3.0baseurl=http://mirrors.aliyun.com/zabbix/zabbix/3.0/rhel/7/x86_64/Gpgcheck=0Eof#给被监控主机安装zabbix客户端Yum Install
) this.width=650; "Width=" 1108 "height=" 323 "title=" 7.png "style=" Width:734px;height:190px;float:none; "src=" http ://s3.51cto.com/wyfs02/m02/49/4b/wkiom1qsqphrmzmtaahbokslfwk286.jpg "alt=" wkiom1qsqphrmzmtaahbokslfwk286.jpg "/ >When you return to the hosts interface, you see that the Z icon has turned green to indicate a successful monitoring.650) this.width=650; "Width=" "height=" 494 "title=" 8.png "style=" Width:736px;height:280px;float:none; "src=" http ://s3.51cto.com/wyfs02/m00/49/4b/
TAR-ZXVF zabbix-3.0.2.tar.gzCD zabbix-3.0.2Groupadd ZabbixUseradd-g Zabbix ZabbixLn-s/usr/local/lib/libiconv.so.2/usr/lib/libiconv.so.2/sbin/ldconfig./configure--prefix=/opt/zabbix --enable-agentMake make installVi/etc/services #编辑, add the following code at the end# ZabbixZabbix-agent 10050/tcp #
1. Download zabbix-agentThe monitored hosts are installed in the Windows7 64-bit operating system and need to turn off the firewall.Required to be installed on the monitored sideHttps://www.zabbix.com/downloads/2.4.1/zabbix_agents_2.4.1.win.zipDecompression can be used directly.2. Modify the configurationIn the extracted conf folder find zabbix_agentd.win.conf, open with Notepad, modify the following four parameters:LogFile=c:\zabbix_agentd.log
InstallationCreate user
Groupadd Zabbix
Useradd-g Zabbix Zabbix
1) UnzipClick ( here ) to collapse or open
TAR-ZXVF zabbix-2.2.4.tar.gz
2) Installation
CD zabbix-2.0.1
./configure--enable-agent
Make install
3) Installatio
"/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/70/B2/wKiom1W7mFGzI6fyAAK2A5cp5aQ632.jpg "title=" 3.png " alt= "Wkiom1w7mfgzi6fyaak2a5cp5aq632.jpg"/> The first item information, the monitoring type is Zabbix Agent,key to mysql.version, the output type is a string, the update period defaults to 3,600 seconds. The value is saved for 7 days ....After the Zabbix agent is installed on the monitor s
Install zabbix-client under Linux using a non-root accountLog in with a non-root account Rusky:[[email protected]] #tar ZXVF zabbix-2.4.5.tar.gz#cd zabbix-2.4.5Compile and install:#./configure--prefix=/home/rusky/zabbix--enable-agent# make InstallTo modify a configuration fi
can see that the temperature data has been properly obtainedThe next step is to configure the custom keyOpen zabbix_agentd.confAdd a rowUserparameter=cpu_temp,c:\zabbix\temp.bat//cpu_temp is a custom key, followed by the path of the batSave, and then restart the Zabbix_agent service (all actions that modify the configuration file must restart the agent service to take effect)Service-Side settingsConfiguration-Host-Select a host that has been configur
First, download Zabbix client software: Zabbix_agents_1.8.19.win;Second, the decompression will be in the bin directory under the following two folders, where Win32 is 32 for the system, Win64 for the 64-bit system:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4C/5B/wKioL1Q74-byn6YNAAAiPV5d0-Q901.jpg "title=" 3.png " alt= "Wkiol1q74-byn6ynaaaipv5d0-q901.jpg"/>Third, copy the Win32 folder to the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.