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

How to develop automatic Discovery rules based on zabbix

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

如何基于zabbix开发自动发现规则,相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。

一、Auto Discovery

要扫描的IP范围;

要查找哪些外部服务(FTP、SSH、WEB、POP3、IMAP、TCP等);

从Zabbix代理处收到的信息;

从SNMP代理接收的信息。

二、低级发现

发现文件系统;

发现网络接口;

发现CPU和CPU核心;

发现多个SNMP OID;

使用SQL查询进行发现;

发现Windows服务。

三、开发自己自动发现规则

栗子1:自动发现规则数据结构

{ "data": [ { "{#SNMPINDEX}": "1", "{#IFDESCR}": "WAN", "{#IFPHYSADDRESS}": "8:0:27:90:7a:75" }, { "{#SNMPINDEX}": "2", "{#IFDESCR}": "LAN1", "{#IFPHYSADDRESS}": "8:0:27:90:7a:76" }, { "{#SNMPINDEX}": "3", "{#IFDESCR}": "LAN2", "{#IFPHYSADDRESS}": "8:0:27:2b:af:9e" } ]}

自动发现的规则名称定义:

discovery[{#IFDESCR}, ifDescr, {#IFALIAS}, ifAlias]

自动发现后的结果

4. Oracle Tablespace Auto-Discovery Display

Chestnut 1: Tablespace usage

Chestnut 2: Tablespace file names and whether they are extensible

Chestnut 3: Autodiscover Rule Definitions

Indicator prototype definition

V. Use of macro features

oracle.collect[tablespace,{#TABLESPACE}]

oracle.collect[tablespace,{#TABLESPACE},AUTOEXTENSIBLE]

After reading the above, do you know how to develop automatic rule discovery methods based on zabbix? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!

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