Zabbix Documentation 2.0 (current)| In development:5.0 (devel)| Unsupported:

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:regular_expressions [2014/09/25 15:07]
sasha Links adapted because of a move operation
manual:regular_expressions [2016/09/23 08:16]
martins-v mentioning that ordinary regexps may not start with '@'
Line 3: Line 3:
 === Overview === === Overview ===
-Complex ​regular expressions ​can be created and tested ​in the Zabbix ​frontend.+[[https://​​wiki/​Regular_expression#​POSIX_extended|POSIX extended ​regular expressions]] are supported ​in Zabbix.
-After a regular ​expression has been created, it can be used in several places in the frontend by referring to its name, prefixed with @, for example, //​@mycustomregexp//​.+There are two ways of using regular ​expressions ​in Zabbix:
-All regular ​expressions ​in Zabbix, whether created with the advanced editor, or entered manually, support [[http://​​wiki/​Regular_expression#​POSIX_Extended_Regular_Expressions|POSIX extended regular expressions]].+  * manually entering a regular ​expression 
 +  * using a global regular expression created ​in Zabbix
-=== Configuration ​===+=== Regular expressions ​===
-To create a regular expression:+You may manually enter a regular expression in supported places. Note that the expression may not start with @ because that symbol is used in Zabbix for referencing global regular expressions. 
 +=== Global regular expressions === 
 +There is an advanced editor for creating and testing complex regular expressions in Zabbix frontend. 
 +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, //​@mycustomregexp//​. 
 +To create a global ​regular expression:
   * Go to: //​Administration -> General//   * Go to: //​Administration -> General//