Zabbix application-auto register action to add hosts in batches

Source: Internet
Author: User

Zabbix is a network monitoring tool. It is very useful. Who knows it? Let's look at the specific application of zabbix!

The discovery Function of zabbix can easily add hosts in batches. However, the hostnames of hosts added by default are all IP addresses, which is not conducive to memory and management;

Especially when the number of servers is large, it is very painful to modify them.

Therefore, we recommend that you use Configuration-> Actions-> auto registration,

Details:

After zabbix_agentd is installed on the server, it is automatically reported and added to the monitoring.

Note the following in zabbix_agentd.conf:

Hostname = hostserver-wwwXX

# No need to enable active checks

You can customize the rpm package to modify the host names in batches.

Add zabbix_rpm.spec

 
 
  1. %post  
  2.  
  3. /bin/sed -i s/sedname/`/bin/hostname`/g /etc/zabbix  

Is it easy to operate? I will learn more about zabbix in the future! It will help you!

  • Install and configure the zabbix client in CentOS 5.5
  • How to install zabbix in CentOS
  • Reasons for ZABBIX selection and development principles
  • Use the zabbix method diagram)
  • Zabbix top-level Configuration
  • Zabbix Server Installation

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.