Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Automatic discovery and registration of zabbix hosts

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Zabbix host auto-discovery

Automatic discovery is based on the ip address of the agent side.

The first step is to create an auto-discovery rule:

There is no agent agent, point directly to server or point directly to proxy

Step 2 create an action

Here, the action is created based on discovery, and you want to select "event source".

Configure-> Action

In the action, we can create an action according to the auto-discovery rule, add the host to a host group and mount it to a template

Zabbix host auto-registration: auto-discovery is based on the ip address. In the zabbix web interface, the host name is the ip address, so it will be inconvenient. If the host registers automatically, the host registers automatically. The host name (Hostname in the agent.conf configuration file) can be displayed on the web interface. Automatic registration requires serveractive (specify server or proxy) Agent to report its metadata to server or proxy to implement Severacticve (specify server or proxy) Server (specify server or proxy) Server (this basic) Include=HostMetadataItem=system.uname through HostMetadataItem=system.uname, and then we create it on the web web page, based on the auto-registration action, because in the above configuration Agent will send metadata to server (or proxy), and after receiving it, server will create the host. In short, auto-registration is relatively simple, you only need to add a line of configuration to the configuration file, and then create an action based on "auto-registration".

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report