zabbix3.2 Active Mode Monitoring

Source: Internet
Author: User

Meet a demand, the customer's host are intranet, Zabbix-server end is in the cloud, belonging to the public network IP, meaning that the public network monitoring intranet host (intranet host IP is mostly private network)

After querying the data, we need to use the active monitoring mode environment of Zabbix.

CentOS 6.9
Installing Zabbix-agent

#rpm-ivh http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpm
# yum Install Zabbix-agent
# vi/etc/zabbix/zabbix_agentd.conf
server=122.200.66.101 (zabbix-server IP)
ServerActive =122.200.66.101 (zabbix-server IP)
hostname=agent02 (client host name)
startagents=0 (active mode)

# service Zabbix-agent Restart
First operation on the agent side

The configuration of the client is changed a few lines.

Logfile=/tmp/zabbix_agentd.log
startagents=0          #客户端agent模式, set to 0 to turn off passive mode
server=**.**.**.**   If set to pure passive mode, you should comment out this instruction
serveractive=**.**.**.**    #主动模式的server IP address
hostname=test_host    # Important: The client's hostname, generally use the native IP
refreshactivechecks=120    #被监控端到服务器获取监控项的周期, the default 120s can be
buffersize=200        #被监控端存储监控信息的空间大小
timeout=10            #超时时间
Server Side

Need to change the type of monitoring item in the template

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.