summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/items.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-23 14:55:32 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-01-23 14:55:32 +0000
commite5259a33066415ea2d424afeb54cad5d4c2b1ad9 (patch)
treeaf3cc24fe287671eb29574baf79999d11f4154b4 /frontends/php/include/items.inc.php
parent0dcb4e9f403253a308b088c145e7404c28de2008 (diff)
downloadzabbix-e5259a33066415ea2d424afeb54cad5d4c2b1ad9.tar.gz
zabbix-e5259a33066415ea2d424afeb54cad5d4c2b1ad9.tar.xz
zabbix-e5259a33066415ea2d424afeb54cad5d4c2b1ad9.zip
- improved webmonitoring (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3749 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/items.inc.php')
-rw-r--r--frontends/php/include/items.inc.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/frontends/php/include/items.inc.php b/frontends/php/include/items.inc.php
index 2a830b09..4f880ed1 100644
--- a/frontends/php/include/items.inc.php
+++ b/frontends/php/include/items.inc.php
@@ -23,15 +23,16 @@
{
switch($type)
{
- case 0: $type = S_ZABBIX_AGENT; break;
- case 1: $type = S_SNMPV1_AGENT; break;
- case 2: $type = S_ZABBIX_TRAPPER; break;
- case 3: $type = S_SIMPLE_CHECK; break;
- case 4: $type = S_SNMPV2_AGENT; break;
- case 5: $type = S_ZABBIX_INTERNAL; break;
- case 6: $type = S_SNMPV3_AGENT; break;
- case 7: $type = S_ZABBIX_AGENT_ACTIVE; break;
- case 8: $type = S_ZABBIX_AGGREGATE; break;
+ case ITEM_TYPE_ZABBIX: $type = S_ZABBIX_AGENT; break;
+ case ITEM_TYPE_SNMPV1: $type = S_SNMPV1_AGENT; break;
+ case ITEM_TYPE_TRAPPER: $type = S_ZABBIX_TRAPPER; break;
+ case ITEM_TYPE_SIMPLE: $type = S_SIMPLE_CHECK; break;
+ case ITEM_TYPE_SNMPV2C: $type = S_SNMPV2_AGENT; break;
+ case ITEM_TYPE_INTERNAL: $type = S_ZABBIX_INTERNAL; break;
+ case ITEM_TYPE_SNMPV3: $type = S_SNMPV3_AGENT; break;
+ case ITEM_TYPE_ZABBIX_ACTIVE: $type = S_ZABBIX_AGENT_ACTIVE; break;
+ case ITEM_TYPE_AGGREGATE: $type = S_ZABBIX_AGGREGATE; break;
+ case ITEM_TYPE_HTTPTEST: $type = S_WEB_MONITORING; break;
default:$type = S_UNKNOWN; break;
}
return $type;