Install Zabbix on this machine to monitor server six

Source: Internet
Author: User
Tags windows x64

Transfer from http://note.youdao.com/share/?id=15ca02a6dbf3d09c6cd5bad6b99999af&type=note#/

By the previous configuration of the server-side installation of Zabbix, it is now time to install the client in the Windows system

Practical Installation--zabbix_agent

Experimental environment

System version:CentOS release 6.6 (Final), Windows Ultimate Edition

Number of system bits:

Installation version: Windows uses version:zabbix_agents_2.4.4

Linux using version: zabbix_agents_2.4.6

First, the preparatory work 1. Software acquisition: http://www.zabbix.com/download.php or copying directly from the Zabbix server in/usr/local/zabbix/sbinzabbix_agent,zabbix_agentd and /usr/local/zabbix/etc/zabbix_agentd.conf, if you want to configure ZABBIX_AGENTD as a service, Then you need to copy the boot file second, Linux installation ①, create a directory, and unzip[[email protected]~]# mkdir/usr/local/zabbix_agentd[[email protected]~]# TAR-ZXVF zabbix_agents_2.4.6.linux.ppc64le.tar.gz-c/usr/local/zabbix_agentd ②, editing configuration files[[email protected]~]# vim/usr/local/zabbix_agentd/conf/zabbix_agentd.conf Modify the following content:
server=192.168.0.133 #服务器IP地址 (Passive:zabbix server  to  zabbix agent  Beg data) serveractive=192.168.0.133 #服务器IP地址 (Active:Zabbix agent submits data to Zabbix server) hostname=kry134 #当前主机名

③, zabbix_agentd default configuration file storage location:/usr/local/etc/zabbix_agentd.conf
[[email protected]~]# Cp/usr/local/zabbix_agentd/conf/zabbix_agentd.conf/usr/local/etc/zabbix_ agentd.conf If the configuration file exists elsewhere, you can also specify the profile path via-C (recommended to be stored in the default directory to avoid startup trouble) [[email protected]~]#/usr/local/zabbix_agentd/sbin/zabbix_agentd-c/etc/zabbix_agentd.conf Start ④, Configuration servicesCopy from the Zabbix Server source installation packagezabbix-2.2.2/misc/init.d/fedora/core5/Zabbix_agentd to the monitoring host /etc/init.d/zabbix_agentd below and modify the following:
Zabbix_bin= "/usr/local/zabbix_agentd/sbin/zabbix_agentd" #指定zabbix_agentd安装目录sbin下的/zabbix_agentd
[[email protected]~]# chkconfig--add zabbix_agentd[[email protected]~]# chkconfig--level Zabbix_agentd on[[email protected]~]# service Zabbix_agentd startstarting Zabbix Agent: [OK] Add: Create an independent user (Zabbix) to run the ZABBIX_AGENTD service (reduces security risk) third, Windows installation1. Decompressionzabbix_agents_2.4.4.win.zip file, bin below is the directory for different system bits, conf is the configuration file2, the extracted files into the G-disk (you can put on any disk), and modify the file name "Zabbix" (You can be any name, you like it good) 3, in order to facilitate the operation, the configuration file "zabbix_agentd.win.conf" copied to Bin\wind64(because of Windows X64) inside, and renamed to "zabbix_ Agentd.conf " 4. Change the file inside

Logfile=c:\zabbix_agentd.log--The logs are on there.
server=192.168.0.222--server IP
Hostname=w7
serveractive=192.168.0.222
Hostname=9xg8r3qqvttwlks--agent Host Name
Startagents=5
Debuglevel=3
Logfile=c:\zabbix_agentd.log
Timeout=3

5. Installation ServicesStart-run--cmdInstallation Agent If the installation of a problem to uninstall, you need to deactivate the service before uninstalling 6, test Agentd and server whether communicationEnter the server ip:10051 (or 10050) in the browser to see if OK is displayed, then the installation is complete Questions: One, after the installation of 10051 open the page failed to set up a Linux firewall
after emptying the firewall configuration and saving it, it can be connected properly.

Install Zabbix on this machine to monitor server six

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.