1. 配置 点击Administration >>General>>右侧下拉表选择“ Regular expressions”>>New regular expression. 所有匹配完全匹配btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|ntfs|fat32|zfs文件类型返回true,正则表达式为^(btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|...
或者说多个low-level的filter都有用到同一个正则表达式,并且希望修改一处,所有的filter都跟着修改,请使用zabbix正则表达式。 配置 点击Administration >>General>>右侧下拉表选择“ Regular expressions”>>New regular expression. 所有匹配完全匹配btrfs|ext2|ext3|ext4|jfs|reiser|xfs|ffs|ufs|jfs|jfs2|vxfs|hfs|nt...
概述在前面的《zabbix low-level discovery》一文中有filter一项,用于从结果中筛选出你想要的结果,比如我们在filter中填入^ext|^reiserfs 则表示{#FSTYPE}要符合ext与reiserfs才能加入到item中。这个需求比较简单,假如我们过滤方法更严格怎么办?或者说多个low- level的filter都有用到同一个正则表达式,并且希望修改一处,...
的内容,我们先查一下数据库中expressions表记录的内容: 这不是trigger里的expression,而是Administration-General里的"Regular expressions",从前端看: 那这个{12900}究竟是什么呢?原来是function,内容在functions表: sql:select * from functions where functionid=12900; 对应trigger的expression,一目了然。 Events表 大...
The filter section in low level discovery rule definition has been split out into a separate tab and, most importantly, allows to define several filters as well as to define the calculation rules between the filters.For more information, see low level discovery documentation....
利用zabbix的自动发现(LLD)功能结合脚本可以实现上面的需求,实现对IIS站点的动态添加,动态监控。 效果图: 具体配置步骤: 1、zabbix服务端配置 配置过滤正则表达式: 依次选择Administration->General->Regular expressions。创建新的正则表达式“IISSite for discovery”,会在后面的模板中引用。正则表达式的名字不能有错,否...
I created a few custom regexp on zabbix server to filter some items, everything is working as expected for servers monitored by zabbix agents that are connected directly to my zabbix server, I can see on the debug logs that the agent downloads from the server the regular expression definitio...
Zabbix 4.2 auto-registration options give us the ability to filter host names based on a regular expressions. It’s really useful if we want to create different auto-registration scenarios for various sets of hosts. Matching by regular expression is especially beneficial in case we have complex ...
<filter> <evaltype>0</evaltype> <formula/> <conditions> <condition> <macro>{#CONTAINERNAME}</macro> <value>@ CONTAINER NAME</value> <operator>8</operator> <formulaid>A</formulaid> </condition> </conditions> </filter> <lifetime>30</lifetime> ...
() parameter iregexp() regexp() Low-level discovery Yes Yes Filter field Web monitoring Variables with a regex : Yes No prefixRequired string field 本文档使用 书栈(BookStack.CN) 构建 - 20 - 概述 Zabbix agent items regexp, severity, eventlog[] Yes Yes source, eventid parameters regexp ...