Zabbix Documentation 4.2

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

User Tools

Site Tools


manual:config:macros:macro_functions

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
manual:config:macros:macro_functions [2018/08/23 13:15]
martins-v adding example with incorrect regular expression
manual:config:macros:macro_functions [2018/10/01 09:42] (current)
Line 52: Line 52:
 |''​customername_1'' ​ |''​{{#​IFALIAS}.regsub(<​nowiki>"​(.*)_([0-9]+)"</​nowiki>,​ \1)}'' ​ |''​customername'' ​ | |''​customername_1'' ​ |''​{{#​IFALIAS}.regsub(<​nowiki>"​(.*)_([0-9]+)"</​nowiki>,​ \1)}'' ​ |''​customername'' ​ |
 |''​customername_1'' ​ |''​{{#​IFALIAS}.regsub(<​nowiki>"​(.*)_([0-9]+)"</​nowiki>,​ \2)}'' ​ |''​1'' ​ | |''​customername_1'' ​ |''​{{#​IFALIAS}.regsub(<​nowiki>"​(.*)_([0-9]+)"</​nowiki>,​ \2)}'' ​ |''​1'' ​ |
-|''​customername_1'' ​ |''​{{#​IFALIAS}.regsub(<​nowiki>"​(.*)_([0-9]+"</​nowiki>,​ \1)}'' ​ |{{#​IFALIAS}.regsub(<​nowiki>"​(.*)_([0-9]+"</​nowiki>,​ \1)} (invalid regular expression) ​ |+|''​customername_1'' ​ |''​{{#​IFALIAS}.regsub(<​nowiki>"​(.*)_([0-9]+"</​nowiki>,​ \1)}'' ​ |''​{{#​IFALIAS}.regsub(<​nowiki>"​(.*)_([0-9]+"</​nowiki>,​ \1)}'' ​(invalid regular expression) ​ |