Zabbix Documentation 4.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: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:16]
martins-v formatting fix
manual:config:macros:macro_functions [2019/11/28 10:16] (current)
vso [Examples]
Line 53: Line 53:
 |''​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) ​ |
 +|''​customername_1'' ​ |''​{$MACRO:<​nowiki>"​{{#​IFALIAS}.regsub(\"​(.*)_([0-9]+)\",​ \1)}"</​nowiki>​}'' ​ |''​{$MACRO:<​nowiki>"​customername"</​nowiki>​}'' ​ |
 +|''​customername_1'' ​ |''​{$MACRO:<​nowiki>"​{{#​IFALIAS}.regsub(\"​(.*)_([0-9]+)\",​ \2)}"</​nowiki>​}'' ​ |''​{$MACRO:<​nowiki>"​1"</​nowiki>​}'' ​ |
 +|''​customername_1'' ​ |''​{$MACRO:<​nowiki>"​{{#​IFALIAS}.regsub(\"​(.*)_([0-9]+\",​ \1)}"</​nowiki>​}'' ​ |''<​nowiki>​{$MACRO:"​{{#​M}.regsub(\"​(.*)_([0-9]+\",​ \1)}"</​nowiki>​}''​ (invalid regular expression) ​ |
 +|''​customername_1'' ​ |''<​nowiki>"​{$MACRO:​\"​{{#​IFALIAS}.regsub(\\"​(.*)_([0-9]+)\\",​ \1)}\"​}"</​nowiki>'' ​ |''<​nowiki>"​{$MACRO:​\"​customername\"​}"</​nowiki>'' ​ |
 +|''​customername_1'' ​ |''<​nowiki>"​{$MACRO:​\"​{{#​IFALIAS}.regsub(\\"​(.*)_([0-9]+)\\",​ \2)}\"​}"</​nowiki>'' ​ |''<​nowiki>"​{$MACRO:​\"​1\"​}"​)</​nowiki>'' ​ |
 +|''​customername_1'' ​ |''<​nowiki>"​{$MACRO:​\"​{{#​IFALIAS}.regsub(\\"​(.*)_([0-9]+\\",​ \1)}\"​}"</​nowiki>'' ​ |''<​nowiki>"​{$MACRO:​\"​{{#​IFALIAS}.regsub(\\"​(.*)_([0-9]+\\",​ \1)}\"​}"​)</​nowiki>''​ (invalid regular expression) ​ |