Zabbix monitoring how Windows Linux host Agent is installed

Source: Internet
Author: User

Monitoring Linux hosts:

1. Install the development Kit
Yum-y Groupinstall "Development Tools"

Yum–y installntpdate

2, synchronization of client time, to prevent inconsistencies with the server, resulting in the detection of unavailable monitoring data
Ntpdate pool.ntp.org

3. Create the user and group required to run the Zabbix
GROUPADD-G 201 Zabbix
Useradd-g zabbix-g 201-m Zabbix

4, decompression installation Zabbix agent side
cd/usr/src/
Tar zvxf zabbix-2.2.3.tar.gz
CD zabbix-2.2.3
./configure--sysconfdir=/etc/zabbix--enable-agent
Make && make install

5. Copy the script required to run the agent side

CP misc/init.d/tru64/zabbix_agentd/etc/init.d/
chmod +x/etc/init.d/zabbix_agentd

6. Configure agent-side configuration file

Vim/etc/zabbix/zabbix_agentd.conf #此处千万别写成了zabbix_agent. conf, otherwise the configuration does not take effect

server=192.168.239.130 #填写Server的IP地址

serveractive=192.168.239.130 #修改为Server的IP地址

Hostname=centos-03 #填写本机的HostName, note that the server side should be able to parse

Unsafeuserparameters=1 #是否允许自定义的key, 1 for allow, 0 for not allowed

Include= etc/zabbix/zabbix_agentd.conf.d/#自定义的agentd配置文件 (key) can be written in this area;

7. Start Zabbix Agent Side
/etc/init.d/zabbix_agentd start

This article is from "Moonlight Blast" blog, please be sure to keep this source http://skykws8023.blog.51cto.com/4514277/1545504

Zabbix monitoring how Windows Linux host Agent is installed

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.