diff options
| author | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-01 17:04:37 +0000 |
|---|---|---|
| committer | alex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-03-01 17:04:37 +0000 |
| commit | 0f8b7ad12c3c8c4644671072a0ff9acfdebbcd35 (patch) | |
| tree | ab9fb91f616d185a9b8d102d153ced00f6e4ec63 /frontends/php/include/config.inc.php | |
| parent | 7d79fcd9d326e2580cb3148a71f1cdfad565c93f (diff) | |
- support of hysteresis (Alexei)
- support of macro {TRIGGER.VALUE} in trigger expressions (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@3857 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/config.inc.php')
| -rw-r--r-- | frontends/php/include/config.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php index 44d40913..bfa13fc4 100644 --- a/frontends/php/include/config.inc.php +++ b/frontends/php/include/config.inc.php @@ -923,7 +923,9 @@ else return -1; } } - else + # Process macros + else if($expression!="{TRIGGER.VALUE}") + { error("Expression [$expression] does not match to [server:key.func(param)]"); return -1; |
