Ad Widget

Collapse

Why it is not possible to use space in str() function in triggers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fry
    Junior Member
    • Sep 2006
    • 12

    #1

    Why it is not possible to use space in str() function in triggers?

    If i try, i get

    Expression does not match to [server:key.func(param)] error.

    I think it's because of that:

    ../include/config.inc.php, line 655:

    if (eregi('^\{([0-9a-zA-Z\_\.-]+)\[]\[0-9a-zA-Z\_\/\.\,\:\(\) -]+)\.([a-z]{3,11})\(([#0-9a-zA-Z\_\/\.\,]+)\)\}$', $expression, $arr))

    {...}

    else
    {
    error("Expression [$expression] does not match to [server:key.func(param)]");


    zabbix frontend version -1.1
Working...