Zabbix Monitoring Linux Host configuration detailed

Source: Internet
Author: User
Tags log log save file

Configuring clients

Install Agent

Linux, UX Agent is compiled, do not install

#useradd Zabbix

#cd/usr/local/zabbix

#tar ZXVF zabbix_agents_1.8.linux2_6.i386.tar.gz

To get a copy of the zabbix_agnetd.conf from the server to the local, and then follow the instructions, we simply modify the following parameters:

Hostname= This machine name

Server=zabbix Server IP

logfile= Native AGENTD Log save file

After the modification is complete, run Agentd

#/usr/local/zabbix/sbin/zabbix-agentd–c/usr/local/zabbix/zabbix_agentd.conf &

#ps Ef|grep Zabbix_agentd

If the process does not rise, you can view the Agentd.log log to troubleshoot the problem. (Note: The full path is recommended at startup, or it may be wrong)

Join Boot Run

#echo '/usr/local/zabbix/sbin/zabbix-agentd–c/usr/local/zabbix/zabbix_agentd.conf &

' >>/ETC/RC

Add ports to Services

Zabbix-agent 10050/tcp # Zabbix Agent

Zabbix-agent 10050/UDP # Zabbix Agent

Zabbix-trapper 10051/tcp # Zabbix Trapper

Zabbix-trapper 10051/UDP # Zabbix Trapper

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.