It means that if at least one Result is False Combined result has also False status. If several sub expressions are defined Zabbix uses AND logical operator to calculate Combined result. Total custom expression status is defined as Combined result. Results show the status of each subexpression and total custom expression status. In the Test tab the regular expression and its subexpressions can be tested by providing a test string. Regular expression names must not be quoted in other locations (for example, in LLD rule properties).
In those cases where that may lead to misinterpretation when referencing (for example, a comma in the parameter of an item key) the whole reference may be put in quotes like this: custom regexp for purpose1, purpose2".
This way it is possible to save expressions containing a slash, without errors.Ī custom regular expression name in Zabbix may contain commas, spaces, etc. This parameter is active only when " Any character string included" expression type is selected.Ī checkbox to specify whether a regular expression is sensitive to capitalization of letters.Ī forward slash (/) in the expression is treated literally, rather than a delimiter. Result is FALSE - do not match the regular expressionĪ comma (,), a dot (.) or a forward slash (/) to separate text strings in a regular expression. Result is TRUE - match the regular expression The delimited list includes a comma (,), a dot (.) or a forward slash (/).Ĭharacter string not included - match any string except the substring Any Unicode characters are allowed.Ĭlick on Add in the Expressions block to add a new subexpression.Ĭharacter string included - match the substringĪny character string included - match any substring from a delimited list.
The Expressions tab allows to set the regular expression name and add subexpressions.Īll mandatory input fields are marked with a red asterisk. Select Regular expressions from the dropdown.Once a regular expression has been created this way, it can be used in several places in the frontend by referring to its name, prefixed with for example, create a global regular expression: There is an advanced editor for creating and testing complex regular expressions in Zabbix frontend. Note that in multi-line matching, the ^ and $ anchors match at the beginning/end of each line respectively, instead of the beginning/end of the entire string. See the pcrestack man page for more information. It's possible to run out of stack when using regular expressions.