diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-04-20 12:25:25 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-04-20 12:25:25 +0000 |
| commit | dee1b601bd7eb4156d3458570f6200f865282437 (patch) | |
| tree | 2a4ce95bd25a3124f418e6fe9e63c9ca697db06b /frontends/php/items.php | |
| parent | 72ce0c873723dc6ae6996314b6909be97f844317 (diff) | |
- added support of aggregate items (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2754 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/items.php')
| -rw-r--r-- | frontends/php/items.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontends/php/items.php b/frontends/php/items.php index f91eb8a7..ab87038b 100644 --- a/frontends/php/items.php +++ b/frontends/php/items.php @@ -54,7 +54,7 @@ "delay"=> array(T_ZBX_INT, O_OPT, NULL, BETWEEN(0,65535),'isset({save})&&{type}!=2'), "history"=> array(T_ZBX_INT, O_OPT, NULL, BETWEEN(0,65535),'isset({save})'), "status"=> array(T_ZBX_INT, O_OPT, NULL, BETWEEN(0,65535),'isset({save})'), - "type"=> array(T_ZBX_INT, O_OPT, NULL, IN("0,1,2,3,4,5,6,7"),'isset({save})'), + "type"=> array(T_ZBX_INT, O_OPT, NULL, IN("0,1,2,3,4,5,6,7,8"),'isset({save})'), "trends"=> array(T_ZBX_INT, O_OPT, NULL, BETWEEN(0,65535),'isset({save})'), "value_type"=> array(T_ZBX_INT, O_OPT, NULL, IN("0,1,2,3"),'isset({save})'), "valuemapid"=> array(T_ZBX_INT, O_OPT, NULL, DB_ID,'isset({save})'), @@ -412,6 +412,7 @@ case 4: $type = S_SNMPV2_AGENT; break; case 6: $type = S_SNMPV3_AGENT; break; case 5: $type = S_ZABBIX_INTERNAL; break; + case 8: $type = S_ZABBIX_AGGREGATE; break; default:$type = S_UNKNOWN; break; } |
