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
- %post
-
- /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