Zabbix Documentation 2.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:regular_expressions

Differences

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
Last revision Both sides next revision
manual:regular_expressions [2014/02/14 09:33]
richlv [Configuration] use "must"
manual:regular_expressions [2016/06/30 07:37]
martins-v updating hyperlink
Line 3: Line 3:
 === Overview === === Overview ===
  
-Complex ​regular expressions ​can be created and tested ​in the Zabbix ​frontend.+[[https://​en.wikipedia.org/​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://​en.wikipedia.org/​wiki/​Regular_expression#​POSIX_Extended_Regular_Expressions|POSIX extended ​regular ​expressions]].+  * manually entering a regular ​expression ​in supported places 
 +  * using a global ​regular ​expression created in Zabbix
  
-=== Configuration ​===+=== Global regular expressions ​===
  
-To create a regular expression:+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//
Line 17: Line 22:
   * Click on //New regular expression//​   * Click on //New regular expression//​
  
-{{:2.0:manual:​regular_expressions:​regexp.png?​600|}}+{{manual:​regular_expressions:​regexp.png?​600|}}
  
 Set the regular expression name. Any Unicode characters are allowed in the name.  Set the regular expression name. Any Unicode characters are allowed in the name.